From 807a4715ab60535fa0e80682c448bdd7c0854d89 Mon Sep 17 00:00:00 2001 From: dudeamax99 Date: Fri, 8 Nov 2019 22:01:07 -0500 Subject: [PATCH] pressf reaction now shows username (#80) After reacting to a press f message, bot says {server nickname}has paid their respects now says {username} has paid their respects --- pressf/pressf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pressf/pressf.py b/pressf/pressf.py index 7ced254..a53606b 100644 --- a/pressf/pressf.py +++ b/pressf/pressf.py @@ -57,5 +57,5 @@ class PressF(commands.Cog): return if user.id not in self.channels[str(reaction.message.channel.id)]['reacted']: if str(reaction.emoji) == "\U0001f1eb": - await reaction.message.channel.send(f"**{user.display_name}** has paid their respects.") + await reaction.message.channel.send(f"**{user.name}** has paid their respects.") self.channels[str(reaction.message.channel.id)]['reacted'].append(user.id)