moved bot token to file
This commit is contained in:
+2
-1
@@ -1,4 +1,5 @@
|
||||
__pycache__/
|
||||
discord.py-rewrite/
|
||||
test.png
|
||||
password.txt
|
||||
password.txt
|
||||
stroopwafel.token
|
||||
+3
-1
@@ -18,9 +18,11 @@ bot.add_cog(Shitpost.Shitpost(bot))
|
||||
bot.add_cog(Porno.Porno(bot))
|
||||
bot.add_cog(General.General(bot))
|
||||
|
||||
tokenfile = open("stroopwafel.token","r")
|
||||
token = tokenfile.readline()
|
||||
@bot.event
|
||||
@asyncio.coroutine
|
||||
def on_ready():
|
||||
print('Logged in as:\n{0} (ID: {0.id})'.format(bot.user))
|
||||
|
||||
bot.run('MjczODc1ODM1NzIxNzQ0Mzg1.C2p7EA._tTMtYEsaUuTv_RtOifGhNX9QZ4')
|
||||
bot.run(token)
|
||||
Reference in New Issue
Block a user