mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-07-23 19:34:23 +00:00
Add log line to show if we disconnected normally.
This commit is contained in:
parent
91e00d8426
commit
abb9c067cc
@ -247,6 +247,7 @@ class VoiceClient:
|
|||||||
# 4014 - voice channel has been deleted.
|
# 4014 - voice channel has been deleted.
|
||||||
# 4015 - voice server has crashed
|
# 4015 - voice server has crashed
|
||||||
if exc.code in (1000, 4014, 4015):
|
if exc.code in (1000, 4014, 4015):
|
||||||
|
log.info('Disconnecting from voice normally, close code %d.', exc.code)
|
||||||
await self.disconnect()
|
await self.disconnect()
|
||||||
break
|
break
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user