Add support for voice channel parties #33

Closed
wasi-master wants to merge 277 commits from master into 2.0
142 changed files with 7323 additions and 22097 deletions
Showing only changes of commit 77b0ddca7c - Show all commits

View File

@ -2054,7 +2054,16 @@ class Guild(Hashable):
-----------
cache: :class:`bool`
Whether to cache the members as well.
Raises
-------
ClientException
The members intent is not enabled.
"""
if not self._state._intents.members:
raise ClientException('Intents.members must be enabled to use this.')
return await self._state.chunk_guild(self, cache=cache)
async def query_members(self, query=None, *, limit=5, user_ids=None, cache=True):