code: async def _remove(self, ctx, index: int):
          
          player = self.bot.lavalink.players.get(ctx.guild.id)
  
          if not player.queue:
              return await ctx.send('Nothing queued.')
  
          if index > len(player.queue) or index < 1:
              return await ctx.send(f'Index has to be **between** 1 and {len(player.queue)}')
  
          index -= 1
          removed = player.queue.pop(index)
  
          await ctx.send(f'Removed **{removed.title}** from the queue.')
docs: Removes an item from the player's queue with the given index.