aboutsummaryrefslogtreecommitdiff
path: root/discord/guild.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2020-08-10 06:28:36 -0400
committerRapptz <[email protected]>2020-09-23 03:20:35 -0400
commit0b93fa3a82e8b1b1d9f637e7be0333efd0a232b2 (patch)
treeac2beaa72be9a4f47d4a7e1cff6e251db417b61b /discord/guild.py
parentFix and add documentation (diff)
downloaddiscord.py-0b93fa3a82e8b1b1d9f637e7be0333efd0a232b2.tar.xz
discord.py-0b93fa3a82e8b1b1d9f637e7be0333efd0a232b2.zip
Implement VoiceProtocol lower level hooks.
This allows changing the connect flow and taking control of it without relying on internal events or tricks.
Diffstat (limited to 'discord/guild.py')
-rw-r--r--discord/guild.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/guild.py b/discord/guild.py
index 4c6013a3..0bf94a28 100644
--- a/discord/guild.py
+++ b/discord/guild.py
@@ -377,7 +377,7 @@ class Guild(Hashable):
@property
def voice_client(self):
- """Optional[:class:`VoiceClient`]: Returns the :class:`VoiceClient` associated with this guild, if any."""
+ """Optional[:class:`VoiceProtocol`]: Returns the :class:`VoiceProtocol` associated with this guild, if any."""
return self._state._get_voice_client(self.id)
@property