Fix issue wrong message when vol == 0
This commit is contained in:
parent
8c35af16ff
commit
7d30eae1f2
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Reference in a new issue