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))
|
||||
|
||||
tokenfile = open("stroopwafel.token","r")
|
||||
token = tokenfile.readline()
|
||||
token = tokenfile.readline().strip()
|
||||
@bot.event
|
||||
@asyncio.coroutine
|
||||
def on_ready():
|
||||
|
||||
Reference in New Issue
Block a user