From ecfd1ecdc3ac05391118296963fd2b4fbc0e91e6 Mon Sep 17 00:00:00 2001 From: aikaterna <20862007+aikaterna@users.noreply.github.com> Date: Sat, 21 Jul 2018 20:56:50 -0700 Subject: [PATCH] [V3 Dungeon] User name consistency --- dungeon/dungeon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dungeon/dungeon.py b/dungeon/dungeon.py index 9f8a5c4..79deda2 100644 --- a/dungeon/dungeon.py +++ b/dungeon/dungeon.py @@ -182,7 +182,7 @@ class Dungeon: try: await user.remove_roles( dungeon_role_obj, - reason=f"Removing dungeon role, verified by {ctx.message.author.name}.", + reason=f"Removing dungeon role, verified by {ctx.message.author}.", ) await user.add_roles(user_role_obj, reason="Adding member role.") except discord.Forbidden: @@ -336,7 +336,7 @@ class Dungeon: return msg = ( - f"Auto-banished new user: \n**{member.name}#{member.discriminator}** ({member.id})\n{self._dynamic_time(int(since_join.total_seconds()))} old account" + f"Auto-banished new user: \n**{member}** ({member.id})\n{self._dynamic_time(int(since_join.total_seconds()))} old account" ) if default_avatar: msg += ", no profile picture set"