moved bot token to file
This commit is contained in:
@@ -2,3 +2,4 @@ __pycache__/
|
|||||||
discord.py-rewrite/
|
discord.py-rewrite/
|
||||||
test.png
|
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(Porno.Porno(bot))
|
||||||
bot.add_cog(General.General(bot))
|
bot.add_cog(General.General(bot))
|
||||||
|
|
||||||
|
tokenfile = open("stroopwafel.token","r")
|
||||||
|
token = tokenfile.readline()
|
||||||
@bot.event
|
@bot.event
|
||||||
@asyncio.coroutine
|
@asyncio.coroutine
|
||||||
def on_ready():
|
def on_ready():
|
||||||
print('Logged in as:\n{0} (ID: {0.id})'.format(bot.user))
|
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