diff options
author | 2022-09-20 22:51:40 +0100 | |
---|---|---|
committer | 2022-09-20 22:51:40 +0100 | |
commit | 6fd9bae6da0986cd28e33dc0ef30599295c61835 (patch) | |
tree | 7d089a6aa13c0fabd931a642799683b88860b9db | |
parent | Merge 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.py | 2 |
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 "" |