aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Izan <[email protected]>2022-09-20 22:51:40 +0100
committerGravatar Izan <[email protected]>2022-09-20 22:51:40 +0100
commit6fd9bae6da0986cd28e33dc0ef30599295c61835 (patch)
tree7d089a6aa13c0fabd931a642799683b88860b9db
parentMerge remote-tracking branch 'origin/bot-2231-enhancements' into bot-2231-enh... (diff)
Display mention & str of the mentionable object in `!remind list`.
Added so that the user still gets information on what the mention is, when the mention doesn't render (due to client cache etc.)
-rw-r--r--bot/exts/utils/reminders.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/utils/reminders.py b/bot/exts/utils/reminders.py
index 4f7e1c255..a7bcc7dae 100644
--- a/bot/exts/utils/reminders.py
+++ b/bot/exts/utils/reminders.py
@@ -353,7 +353,7 @@ class Reminders(Cog):
mentions = ", ".join([
# Both Role and User objects have the `mention` attribute
- mentionable.mention async for mentionable in self.get_mentionables(mentions)
+ f"{mentionable.mention} ({mentionable})" async for mentionable in self.get_mentionables(mentions)
])
mention_string = f"\n**Mentions:** {mentions}" if mentions else ""