Browse Source

Only call async setup if the loop sentinel hasn't been changed

pull/10109/head
Rapptz 3 years ago
committed by dolfies
parent
commit
49cbf46c44
  1. 1
      discord/client.py

1
discord/client.py

@ -661,6 +661,7 @@ class Client:
_log.info('Logging in using static token.')
if self.loop is _loop:
await self._async_setup_hook()
state = self._connection

Loading…
Cancel
Save