aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--discord/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/client.py b/discord/client.py
index e5712454..43733f3e 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -430,7 +430,7 @@ class Client:
"""
log.info('logging in using static token')
- await self.http.static_login(token, bot=bot)
+ await self.http.static_login(token.strip(), bot=bot)
self._connection.is_bot = bot
async def logout(self):