Skip to content

Commit ec23397

Browse files
committed
Fix reconnect command
1 parent 8724b23 commit ec23397

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

musicbot/cogs/music/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ async def _reconnect(self, ctx, force: bool = False):
515515
async def inner_reconnect():
516516
await player.stop()
517517
if ctx.voice_client:
518-
await ctx.voice_client.disconnect(force)
518+
await ctx.voice_client.disconnect(force=force)
519519
await asyncio.sleep(1) # Pretend stuff is happening/give everything some time to reset.
520520
channel = ctx.guild.get_channel(current_channel)
521521
await channel.connect(cls=BasicVoiceClient)

0 commit comments

Comments
 (0)