From ed23929c29b2a0662f1b9b988fda35d8e435c2da Mon Sep 17 00:00:00 2001 From: "Nyeki.py" <84998222+Nekidev@users.noreply.github.com> Date: Tue, 22 Oct 2024 15:48:46 -0300 Subject: [PATCH 1/2] fix(bot): :bug: `p.mask` not showing mask's name. --- payphone/cogs/users/cog.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/payphone/cogs/users/cog.py b/payphone/cogs/users/cog.py index 337845c..90122f9 100644 --- a/payphone/cogs/users/cog.py +++ b/payphone/cogs/users/cog.py @@ -181,10 +181,7 @@ class Users(base.Cog): message = "🕵️ You're masked!" if call_rs is not None: - mask_weared = constants.Mask(call_rs.mask) - mask_name = mask_weared.name.lower().replace("_", "") - - message += f" You're currently being displayed as **<:{mask_name}:{call_rs.mask}>**." + message += f" You're currently being displayed as **{call_rs.mask_emoji} {call_rs.display_name}**." else: message += " Your identity will be hidden during calls." From 01ec9a83557a864f644655994c79fc8103c0b41f Mon Sep 17 00:00:00 2001 From: "Nyeki.py" <84998222+Nekidev@users.noreply.github.com> Date: Tue, 22 Oct 2024 15:49:45 -0300 Subject: [PATCH 2/2] fix(bot): :pencil2: Change `p.mask`'s message a bit. --- payphone/cogs/users/cog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/payphone/cogs/users/cog.py b/payphone/cogs/users/cog.py index 90122f9..d8b053b 100644 --- a/payphone/cogs/users/cog.py +++ b/payphone/cogs/users/cog.py @@ -235,7 +235,7 @@ class Users(base.Cog): ) if current_channel_ongoing_call_user_rs and toggle: - message += f" You're currently being displayed as **{current_channel_ongoing_call_user_rs.mask_emoji} {current_channel_ongoing_call_user_rs.display_name}**." + message += f" Your profile will be displayed as **{current_channel_ongoing_call_user_rs.mask_emoji} {current_channel_ongoing_call_user_rs.display_name}**." message += ( f" Use `{ctx.clean_prefix}mask` during a call to see your mask."