Clarify connect() requires Intents.voice_states

This commit is contained in:
Imayhaveborkedit
2021-08-24 00:02:21 -04:00
committed by GitHub
parent 769db38401
commit f586f4dfbd
2 changed files with 6 additions and 0 deletions

View File

@ -650,6 +650,10 @@ class Intents(BaseFlags):
- :attr:`VoiceChannel.members`
- :attr:`VoiceChannel.voice_states`
- :attr:`Member.voice`
.. note::
This intent is required to connect to voice.
"""
return 1 << 7