dp 5 years ago
parent
commit
93b43c0c67
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      nec_discord_bot.py

+ 4
- 2
nec_discord_bot.py View File

4
 from discord import FFmpegPCMAudio
4
 from discord import FFmpegPCMAudio
5
 import sys
5
 import sys
6
 
6
 
7
+Token = open("token.txt", "r")
8
+content = Token.read()
9
+
7
 client = commands.Bot(command_prefix = "!")
10
 client = commands.Bot(command_prefix = "!")
8
 
11
 
9
 youtube_dl.utils.bug_reports_message = lambda: ''
12
 youtube_dl.utils.bug_reports_message = lambda: ''
97
 async def shutdown(ctx):
100
 async def shutdown(ctx):
98
 	sys.exit()
101
 	sys.exit()
99
 
102
 
100
-
101
-client.run("NTAyMTY4Njk1MjIxNjQ5NDIw.DqkBOw.01VYdcjPC-wN1ARVVBPpix-1Fj8")
103
+client.run(content)

Loading…
Cancel
Save