diff options
| author | Hornwitser <[email protected]> | 2016-06-28 00:57:52 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2016-06-28 00:58:11 -0400 |
| commit | e1f8bdc440eaff0f2e04ffa017052117621fe939 (patch) | |
| tree | 76372f422095f7011813b700e3a14eff27030cb1 /discord/client.py | |
| parent | Update whats new page a little bit to say the changelog is too big. (diff) | |
| download | discord.py-e1f8bdc440eaff0f2e04ffa017052117621fe939.tar.xz discord.py-e1f8bdc440eaff0f2e04ffa017052117621fe939.zip | |
Make PyNaCl optional
Diffstat (limited to 'discord/client.py')
| -rw-r--r-- | discord/client.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/discord/client.py b/discord/client.py index 5ab263cd..3a2ef8fb 100644 --- a/discord/client.py +++ b/discord/client.py @@ -154,6 +154,10 @@ class Client: self._is_logged_in = asyncio.Event(loop=self.loop) self._is_ready = asyncio.Event(loop=self.loop) + if VoiceClient.warn_nacl: + VoiceClient.warn_nacl = False + log.warning("PyNaCl is not installed, voice will NOT be supported") + # internals @asyncio.coroutine |