@commands.command(name='pause', aliases=['resume'])
async def pause(self, ctx):
    player = self.bot.lavalink.player_manager.get(ctx.guild.id)
    if (not player.is_playing):
        return (await ctx.send('Not playing anything :mute:'))
    if player.paused:
        (await player.set_pause(False))
        (await ctx.message.add_reaction('▶'))
    else:
        (await player.set_pause(True))
        (await ctx.message.add_reaction('⏸'))
@commands.command(name='pause', aliases=['resume'])
async def pause(self, ctx):
    player = self.bot.lavalink.player_manager.get(ctx.guild.id)
    if (not player.is_playing):
        return (await ctx.send('Not playing anything :mute:'))
    if player.paused:
        (await player.set_pause(False))
        (await ctx.message.add_reaction('▶'))
    else:
        (await player.set_pause(True))
        (await ctx.message.add_reaction('⏸'))