diff options
| -rw-r--r-- | discord/shard.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/shard.py b/discord/shard.py index 07a6590b..62bd9a3c 100644 --- a/discord/shard.py +++ b/discord/shard.py @@ -43,7 +43,7 @@ class Shard: self.ws = ws self._client = client self.loop = self._client.loop - self._current = asyncio.Future(loop=self.loop) + self._current = compat.create_future(self.loop) self._current.set_result(None) # we just need an already done future @property |