bot deaf in voicechannel
This commit is contained in:
parent
60b4bcb0dc
commit
e2c1971dfd
1 changed files with 1 additions and 0 deletions
|
@ -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):
|
||||||
|
|
Reference in a new issue