aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Boris Muratov <[email protected]>2021-03-19 18:20:56 +0200
committerGravatar Boris Muratov <[email protected]>2021-03-19 18:20:56 +0200
commit2d9c47180157e7b6667340abc241e0d65cdb9cc5 (patch)
treed244398a6cd1c191f13fedd407968fa089a7480b
parentProperly await coroutine in post_review (diff)
Replace mentions for ID's in watchlist lists
Uncached mentions render as 'invalid' users on mobile, and with the list now showing the user's name we can now just show the ID without many problems.
-rw-r--r--bot/exts/moderation/watchchannels/_watchchannel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/moderation/watchchannels/_watchchannel.py b/bot/exts/moderation/watchchannels/_watchchannel.py
index b121243ce..9f26c34f2 100644
--- a/bot/exts/moderation/watchchannels/_watchchannel.py
+++ b/bot/exts/moderation/watchchannels/_watchchannel.py
@@ -353,7 +353,7 @@ class WatchChannel(metaclass=CogABCMeta):
list_data["info"] = {}
for user_id, user_data in watched_iter:
member = ctx.guild.get_member(user_id)
- line = f"• <@{user_id}>"
+ line = f"• `{user_id}`"
if member:
line += f" ({member.name}#{member.discriminator})"
inserted_at = user_data['inserted_at']