diff options
| author | Rapptz <[email protected]> | 2015-12-30 20:56:48 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2015-12-30 20:56:48 -0500 |
| commit | 3da6cf592629dc53a10a5995f42d2b8207d71b62 (patch) | |
| tree | b9ff4d299daf2d27805b1f45bffbf0a5d4069651 | |
| parent | Maintain order in role related functions. (diff) | |
| download | discord.py-3da6cf592629dc53a10a5995f42d2b8207d71b62.tar.xz discord.py-3da6cf592629dc53a10a5995f42d2b8207d71b62.zip | |
Add logs to help debug some voice data.
| -rw-r--r-- | discord/client.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/discord/client.py b/discord/client.py index 45c9bfa7..318b5e5d 100644 --- a/discord/client.py +++ b/discord/client.py @@ -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 |