@commands.command(name='now', aliases=['current', 'currentsong', 'playing', 'np'])
async def now(self, ctx):
    player = self.bot.lavalink.player_manager.get(ctx.guild.id)
    song = 'Nothing'
    if player.current:
        if player.current.stream:
            dur = 'LIVE'
            pos = ''
            count = total = 1
        else:
            count = player.position
            pos = lavalink.format_time(count)
            total = player.current.duration
            dur = lavalink.format_time(total)
            if (pos == dur):
                count = 0
                pos = '00:00:00'
            dur = dur.lstrip('00:')
            pos = pos[(- len(dur)):]
        bar_len = 30
        filled_len = int(((bar_len * count) // float(total)))
        bar = ((('═' * filled_len) + '◈') + ('─' * (bar_len - filled_len)))
        song = f'''[{player.current.title}]({player.current.uri})
`{pos} {bar} {dur}`'''
        em = discord.Embed(colour=discord.Colour(5898184), description=song)
        em.set_author(name='Now Playing 🎵', icon_url='https://i.ibb.co/DGsmTvh/star.gif')
        em.set_thumbnail(url=f'http://i.ytimg.com/vi/{player.current.identifier}/hqdefault.jpg')
        requester = ctx.guild.get_member(player.current.requester)
        em.set_footer(text=f'Requested by: {requester}', icon_url=requester.avatar_url)
        (await ctx.send(embed=em))
        (await self.bot.change_presence(activity=discord.Activity(type=discord.ActivityType.listening, name=player.current.title)))
    else:
        (await ctx.send('Not playing anything :mute:'))
@commands.command(name='now', aliases=['current', 'currentsong', 'playing', 'np'])
async def now(self, ctx):
    player = self.bot.lavalink.player_manager.get(ctx.guild.id)
    song = 'Nothing'
    if player.current:
        if player.current.stream:
            dur = 'LIVE'
            pos = 
            count = total = 1
        else:
            count = player.position
            pos = lavalink.format_time(count)
            total = player.current.duration
            dur = lavalink.format_time(total)
            if (pos == dur):
                count = 0
                pos = '00:00:00'
            dur = dur.lstrip('00:')
            pos = pos[(- len(dur)):]
        bar_len = 30
        filled_len = int(((bar_len * count) // float(total)))
        bar = ((('═' * filled_len) + '◈') + ('─' * (bar_len - filled_len)))
        song = f'[{player.current.title}]({player.current.uri})
`{pos} {bar} {dur}`'
        em = discord.Embed(colour=discord.Colour(5898184), description=song)
        em.set_author(name='Now Playing 🎵', icon_url='https://i.ibb.co/DGsmTvh/star.gif')
        em.set_thumbnail(url=f'http://i.ytimg.com/vi/{player.current.identifier}/hqdefault.jpg')
        requester = ctx.guild.get_member(player.current.requester)
        em.set_footer(text=f'Requested by: {requester}', icon_url=requester.avatar_url)
        (await ctx.send(embed=em))
        (await self.bot.change_presence(activity=discord.Activity(type=discord.ActivityType.listening, name=player.current.title)))
    else:
        (await ctx.send('Not playing anything :mute:'))