feat(shard): ✨ Stop displaying mod and supporter banners.

This commit is contained in:
2025-03-21 15:06:08 -03:00
parent 2524108317
commit 1057ac7b5b
+1 -26
View File
@@ -395,32 +395,7 @@ class Calls(base.Cog):
notices.append("In reply to a message from outside this call.") notices.append("In reply to a message from outside this call.")
if was_mask_toggled: if was_mask_toggled:
if not participant.is_masked: if participant.is_masked:
if participant.user.flag & models.UserFlag.SUPPORTER:
embeds.append(
discord.Embed(
color=constants.SUPPORTER_COLOR,
description=f"🌟 **{participant.display_name}** is a Payphone supporter!",
footer=random.choice(
[
discord.EmbedFooter(
text="Become a supporter at our Ko-Fi page!"
)
]
+ [None] * 3
),
)
)
if participant.user.flag & models.UserFlag.MODERATOR:
embeds.append(
discord.Embed(
color=constants.MODERATOR_COLOR,
description=f"🛡️ **{participant.display_name}** is a Payphone moderator!",
)
)
else:
embeds.append( embeds.append(
discord.Embed( discord.Embed(
color=constants.MASK_COLOR, color=constants.MASK_COLOR,