moved bot token to file
This commit is contained in:
1 parent
1aac18e3cf
commit
b7a638309d
2 files changed
+5
-2
No files matched your search
+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