@music.command(description='Adjusts the Volume as per given amount')
@commands.has_guild_permissions(connect=True)
async def volume(self, ctx: commands.Context, volume: int):
    vc = ctx.voice_client
    if vc:
        if (not (0 > volume > 100)):
            volume = (volume / 100)
            vc.source = disnake.PCMVolumeTransformer(original=vc.source, volume=1.0)
            vc.source.volume = volume
            (await ctx.reply(f'Changed volume to {(volume * 100)}%'))
        else:
            (await ctx.reply('Volume must be between 0 to 100 (Inclusive)'))
    else:
        (await ctx.reply('I am not Connected to any Voice Channel!!'))
@music.command(description='Adjusts the Volume as per given amount')
@commands.has_guild_permissions(connect=True)
async def volume(self, ctx: commands.Context, volume: int):
    vc = ctx.voice_client
    if vc:
        if (not (0 > volume > 100)):
            volume = (volume / 100)
            vc.source = disnake.PCMVolumeTransformer(original=vc.source, volume=1.0)
            vc.source.volume = volume
            (await ctx.reply(f'Changed volume to {(volume * 100)}%'))
        else:
            (await ctx.reply('Volume must be between 0 to 100 (Inclusive)'))
    else:
        (await ctx.reply('I am not Connected to any Voice Channel!!'))