Fix issue wrong message when vol == 0

This commit is contained in:
Mylloon 2021-10-11 13:30:01 +02:00
parent 8c35af16ff
commit 7d30eae1f2

View file

@ -711,7 +711,7 @@ class Music(commands.Cog, wavelink.WavelinkMixin):
await addReaction(ctx.message, 2)
return await mySendHidden(ctx, fromSlash, "Seuls le DJ ou les admins peuvent modifier le volume.")
if not vol:
if vol == None:
await mySendHidden(ctx, fromSlash, f"Le volume est actuellement réglé à **{player.volume}%**.")
if fromSlash != True:
return await addReaction(ctx.message, 0)