refactor(commands/voice/volume): tweak output format

This commit is contained in:
Ryan 2024-12-30 04:17:44 -05:00
parent 99c3793618
commit 8985999d6c
Signed by: ErrorNoInternet
GPG Key ID: 2486BFB7B1E6A4A3

View File

@ -184,12 +184,12 @@ async def volume(message):
message.guild.voice_client.source.volume = float(args.volume) / 100.0
await utils.reply(
message,
f"volume set to **{args.volume}%**",
f"{args.volume}",
)
else:
await utils.reply(
message,
f"current volume is **{int(message.guild.voice_client.source.volume * 100)}%**",
f"{int(message.guild.voice_client.source.volume * 100)}",
)