Skip to content

Commit

Permalink
deafen if set to.
Browse files Browse the repository at this point in the history
Edit for stage channels to deafen if set to.
  • Loading branch information
BabyBoySnow committed Dec 15, 2023
1 parent 612f341 commit 19a19e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion musicbot/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ async def get_voice_client(self, channel: discord.abc.GuildChannel):
client = await channel.connect(timeout=60, reconnect=True)
if isinstance(channel, discord.StageChannel):
try:
await channel.guild.me.edit(suppress=False)
await channel.guild.me.edit(suppress=False, mute=False, deafen=self.config.self_deafen)
except Exception as e:
log.error(e)
else:
Expand Down

0 comments on commit 19a19e1

Please sign in to comment.