aboutsummaryrefslogtreecommitdiff
path: root/discord/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/client.py')
-rw-r--r--discord/client.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/discord/client.py b/discord/client.py
index 23907574..6251e65e 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -444,7 +444,7 @@ class Client:
for voice in self.voice_clients:
try:
await voice.disconnect()
- except:
+ except Exception:
# if an error happens during disconnects, disregard it.
pass
@@ -489,7 +489,7 @@ class Client:
def _silence_gathered(fut):
try:
fut.result()
- except:
+ except Exception:
pass
finally:
loop.stop()
@@ -516,7 +516,7 @@ class Client:
try:
return task.result() # suppress unused task warning
- except:
+ except Exception:
return None
def run(self, *args, **kwargs):