diff --git a/.gitignore b/.gitignore index 356e9ba..6b3cb47 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ __pycache__/ discord.py-rewrite/ test.png -password.txt \ No newline at end of file +password.txt +stroopwafel.token \ No newline at end of file diff --git a/Stroopwafel.py b/Stroopwafel.py index 3878f6d..a50ea87 100644 --- a/Stroopwafel.py +++ b/Stroopwafel.py @@ -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') \ No newline at end of file +bot.run(token) \ No newline at end of file