From 6fd9bae6da0986cd28e33dc0ef30599295c61835 Mon Sep 17 00:00:00 2001 From: Izan Date: Tue, 20 Sep 2022 22:51:40 +0100 Subject: 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.) --- bot/exts/utils/reminders.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 "" -- cgit v1.2.3