Merge pull request #42 from Payphone-Bot/41-pmask-shows-the-mask-emoji-but-not-the-name
`p.mask` shows the mask emoji but not the name.
This commit is contained in:
@@ -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."
|
||||
@@ -238,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."
|
||||
|
||||
Reference in New Issue
Block a user