mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-21 00:07:51 +00:00
Add logs to help debug some voice data.
This commit is contained in:
parent
c69a991e46
commit
3da6cf5926
@ -331,10 +331,12 @@ class Client:
|
||||
user_id = data.get('user_id')
|
||||
if user_id == self.user.id:
|
||||
self.session_id = data.get('session_id')
|
||||
log.debug('Session ID found: {}'.format(self.session_id))
|
||||
self._session_id_found.set()
|
||||
|
||||
if event == 'VOICE_SERVER_UPDATE':
|
||||
self._voice_data_found.data = data
|
||||
log.debug('Voice connection data found: {}'.format(data))
|
||||
self._voice_data_found.set()
|
||||
return
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user