Strip whitespace from token
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ bot.add_cog(Cryptocoin.Cryptocoin(bot))
|
|||||||
bot.add_cog(Chatbot.Chatbot(bot))
|
bot.add_cog(Chatbot.Chatbot(bot))
|
||||||
|
|
||||||
tokenfile = open("stroopwafel.token","r")
|
tokenfile = open("stroopwafel.token","r")
|
||||||
token = tokenfile.readline()
|
token = tokenfile.readline().strip()
|
||||||
@bot.event
|
@bot.event
|
||||||
@asyncio.coroutine
|
@asyncio.coroutine
|
||||||
def on_ready():
|
def on_ready():
|
||||||
|
|||||||
Reference in New Issue
Block a user