1
0
Fork 0
mirror of synced 2024-06-03 03:04:33 +12:00

Use the correct form of voice

This commit is contained in:
Phxntxm 2017-06-18 13:48:10 -05:00
parent 601561fc94
commit 467cdb57d5

View file

@ -538,7 +538,7 @@ class Music:
# Then stop playing, and disconnect # Then stop playing, and disconnect
if voice: if voice:
voice.stop() voice.stop()
await state.voice.disconnect() await voice.disconnect()
@commands.command() @commands.command()
@commands.guild_only() @commands.guild_only()