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

Loading…
Cancel
Save