fix(shard): 🐛 Fix p.mask not responding when the user hasn't participated in the call yet.

This commit is contained in:
2025-03-16 11:17:09 -03:00
parent ab7fe3e828
commit df8aef39e3
+5 -1
View File
@@ -155,10 +155,14 @@ class Calls(base.Cog):
participant = await call.get_participant(ctx.author.id)
if user.is_masked:
if participant is not None:
message += f" You're currently being displayed as **{masks.get_mask_emoji(participant.mask)} {masks.get_mask_name(participant.mask)}**."
else:
message += " Participate in the call to see your mask."
message += (
" You can toggle your mask on or off using `p.mask on` or `p.mask off`."
" You can toggle your mask on or off using `p.mask on` and `p.mask off`."
)
return await ctx.send(message)