From 0b93fa3a82e8b1b1d9f637e7be0333efd0a232b2 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Mon, 10 Aug 2020 06:28:36 -0400 Subject: Implement VoiceProtocol lower level hooks. This allows changing the connect flow and taking control of it without relying on internal events or tricks. --- discord/ext/commands/context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'discord/ext') 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 -- cgit v1.2.3