bot deaf in voicechannel

This commit is contained in:
Mylloon 2021-06-14 21:52:25 +02:00
parent 60b4bcb0dc
commit e2c1971dfd

View file

@ -315,6 +315,7 @@ class Music(commands.Cog):
return return
ctx.voice_state.voice = await destination.connect() ctx.voice_state.voice = await destination.connect()
await ctx.guild.change_voice_state(channel = destination, self_mute = False, self_deaf = True)
@commands.command(name='stop', aliases=['disconnect', 'dc']) @commands.command(name='stop', aliases=['disconnect', 'dc'])
async def _leave(self, ctx: commands.Context): async def _leave(self, ctx: commands.Context):