examples/music-v2.py
async def _volume(self, ctx, volume: int = None):
        """ Changes the player's volume. Must be between 0 and 150. Error Handling for that is done by Lavalink. """
        player = self.bot.lavalink.players.get(ctx.guild.id)

        if not volume:
            return await ctx.send(f'🔈 | {player.volume}%')

        await player.set_volume(volume)
        await ctx.send(f'🔈 | Set to {player.volume}%')
async def _volume(self, ctx, volume: int = None):
        """ Changes the player's volume. Must be between 0 and 150. Error Handling for that is done by Lavalink. """
        player = self.bot.lavalink.players.get(ctx.guild.id)

        if not volume:
            return await ctx.send(f'🔈 | {player.volume}%')

        await player.set_volume(volume)
        await ctx.send(f'🔈 | Set to {player.volume}%')
Changes the player's volume. Must be between 0 and 150. Error Handling for that is done by Lavalink.