aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--discord/voice_client.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/discord/voice_client.py b/discord/voice_client.py
index be7a4d69..33eedb1f 100644
--- a/discord/voice_client.py
+++ b/discord/voice_client.py
@@ -247,6 +247,7 @@ class VoiceClient:
# 4014 - voice channel has been deleted.
# 4015 - voice server has crashed
if exc.code in (1000, 4014, 4015):
+ log.info('Disconnecting from voice normally, close code %d.', exc.code)
await self.disconnect()
break