Skip to content

Commit

Permalink
Fix reconnect command
Browse files Browse the repository at this point in the history
  • Loading branch information
Ev-1 committed Mar 28, 2024
1 parent 8724b23 commit ec23397
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion musicbot/cogs/music/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ async def _reconnect(self, ctx, force: bool = False):
async def inner_reconnect():
await player.stop()
if ctx.voice_client:
await ctx.voice_client.disconnect(force)
await ctx.voice_client.disconnect(force=force)
await asyncio.sleep(1) # Pretend stuff is happening/give everything some time to reset.
channel = ctx.guild.get_channel(current_channel)
await channel.connect(cls=BasicVoiceClient)
Expand Down

0 comments on commit ec23397

Please sign in to comment.