aboutsummaryrefslogtreecommitdiff
path: root/discord/ext/commands/context.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/ext/commands/context.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/ext/commands/context.py')
-rw-r--r--discord/ext/commands/context.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/ext/commands/context.py b/discord/ext/commands/context.py
index 8b8cf4bc..3cf851c6 100644
--- a/discord/ext/commands/context.py
+++ b/discord/ext/commands/context.py
@@ -238,7 +238,7 @@ class Context(discord.abc.Messageable):
@property
def voice_client(self):
- r"""Optional[:class:`.VoiceClient`]: A shortcut to :attr:`.Guild.voice_client`\, if applicable."""
+ r"""Optional[:class:`.VoiceProtocol`]: A shortcut to :attr:`.Guild.voice_client`\, if applicable."""
g = self.guild
return g.voice_client if g else None