diff --git a/discord/voice_client.py b/discord/voice_client.py index 6d660c50e..6a19fb9c5 100644 --- a/discord/voice_client.py +++ b/discord/voice_client.py @@ -115,7 +115,7 @@ class VoiceProtocol: self.client: Client = client self.channel: VocalChannel = channel - async def on_voice_state_update(self, data: GuildVoiceStatePayload) -> None: + async def on_voice_state_update(self, data: GuildVoiceStatePayload, /) -> None: """|coro| An abstract method that is called when the client's voice state @@ -128,7 +128,7 @@ class VoiceProtocol: """ raise NotImplementedError - async def on_voice_server_update(self, data: VoiceServerUpdatePayload) -> None: + async def on_voice_server_update(self, data: VoiceServerUpdatePayload, /) -> None: """|coro| An abstract method that is called when initially connecting to voice.