From 58efec1e7053c1f970f0ab2d062052a60ad9fd93 Mon Sep 17 00:00:00 2001 From: Snipy7374 <100313469+Snipy7374@users.noreply.github.com> Date: Mon, 18 Nov 2024 11:33:48 +0100 Subject: [PATCH] Update disnake/member.py Co-authored-by: shiftinv <8530778+shiftinv@users.noreply.github.com> Signed-off-by: Snipy7374 <100313469+Snipy7374@users.noreply.github.com> --- disnake/member.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/disnake/member.py b/disnake/member.py index ce23c8958d..faaaac61be 100644 --- a/disnake/member.py +++ b/disnake/member.py @@ -1028,6 +1028,10 @@ async def fetch_voice_state(self, *, cache: bool = False) -> VoiceState: The member for which you tried to fetch a voice state is not connected to a channel in this guild. + Forbidden + You do not have permission to fetch the member's voice state. + HTTPException + Fetching the voice state failed. Returns ------- :class:`VoiceState`