@commands.command(name='<STR_LIT>', aliases=['<STR_LIT>'])<EOL><INDENT>@commands.guild_only()<EOL>async def _disconnect(self, ctx):<DEDENT>
player = self.bot.lavalink.players.get(ctx.guild.id)<EOL>if not player.is_connected:<EOL><INDENT>return await ctx.send('<STR_LIT>')<EOL><DEDENT>if not ctx.author.voice or (player.is_connected and ctx.author.voice.channel.id != int(player.channel_id)):<EOL><INDENT>return await ctx.send('<STR_LIT>')<EOL><DEDENT>player.queue.clear()<EOL>await player.disconnect()<EOL>await ctx.send('<STR_LIT>')<EOL>
Disconnects the player from the voice channel and clears its queue.