@commands.command(name='save', aliases=['star'])
async def savetodm(self, ctx):
    player = self.bot.lavalink.player_manager.get(ctx.guild.id)
    if player.current:
        if player.current.stream:
            dur = 'Live'
        else:
            dur = lavalink.format_time(player.current.duration).lstrip('00:')
        song = f'[{player.current.title}]({player.current.uri})'
        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')
        em.add_field(name='Channel', value=player.current.author)
        em.add_field(name='Duration', value=dur)
        user = ctx.author
        (await user.send(embed=em))
        (await ctx.send(f'Current song has been sent to you {ctx.author.mention} :floppy_disk:'))
    else:
        (await ctx.send('Not playing anything :mute:'))
@commands.command(name='save', aliases=['star'])
async def savetodm(self, ctx):
    player = self.bot.lavalink.player_manager.get(ctx.guild.id)
    if player.current:
        if player.current.stream:
            dur = 'Live'
        else:
            dur = lavalink.format_time(player.current.duration).lstrip('00:')
        song = f'[{player.current.title}]({player.current.uri})'
        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')
        em.add_field(name='Channel', value=player.current.author)
        em.add_field(name='Duration', value=dur)
        user = ctx.author
        (await user.send(embed=em))
        (await ctx.send(f'Current song has been sent to you {ctx.author.mention} :floppy_disk:'))
    else:
        (await ctx.send('Not playing anything :mute:'))