code: async def _pause(self, ctx):
          
          player = self.bot.lavalink.players.get(ctx.guild.id)
  
          if not player.is_playing:
              return await ctx.send('Not playing.')
  
          if player.paused:
              await player.set_pause(False)
              await ctx.send('⏯ | Resumed')
          else:
              await player.set_pause(True)
              await ctx.send('⏯ | Paused')
docs: Pauses/Resumes the current track.