Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option for self_deaf and self_mute in wavelink.Player.move_to #213

Closed
wants to merge 1 commit into from

Conversation

isaa-ctaylor
Copy link

Adds support for self_deaf and self_mute when calling Player.move_to

@@ -336,7 +336,7 @@ async def connect(self, *, timeout: float, reconnect: bool, **kwargs: Any) -> No

await self.channel.guild.change_voice_state(channel=self.channel, **kwargs)

async def move_to(self, channel: discord.VoiceChannel) -> None:
async def move_to(self, channel: discord.VoiceChannel, self_mute: bool = False, self_deaf: bool = False) -> None:
Copy link
Member

@EvieePy EvieePy Jun 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please change the new arguments to keyword arguments.
E.g ..., *, self_mute=, self_deaf=

@EvieePy EvieePy added the enhancement New feature or request label Jun 18, 2023
@EvieePy
Copy link
Member

EvieePy commented Nov 27, 2023

Has been implemented in #254

@EvieePy EvieePy closed this Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants