aboutsummaryrefslogtreecommitdiff
path: root/discord/shard.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2019-04-25 01:57:32 -0400
committerRapptz <[email protected]>2019-04-25 01:57:32 -0400
commit186d9a7f9cb8b28678893bd32ec6f823e5090d78 (patch)
tree48f79232754af0deebec2b7894f3ed2451684bf9 /discord/shard.py
parent[commands] Allow passing `current` to more cooldown mapping methods. (diff)
downloaddiscord.py-186d9a7f9cb8b28678893bd32ec6f823e5090d78.tar.xz
discord.py-186d9a7f9cb8b28678893bd32ec6f823e5090d78.zip
Use a regular boolean instead of asyncio.Event for close status.
Diffstat (limited to 'discord/shard.py')
-rw-r--r--discord/shard.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/shard.py b/discord/shard.py
index b15b22a2..a5f5f541 100644
--- a/discord/shard.py
+++ b/discord/shard.py
@@ -280,7 +280,7 @@ class AutoShardedClient(Client):
if self.is_closed():
return
- self._closed.set()
+ self._closed = True
for vc in self.voice_clients:
try: