commit ca4216078cd19c0e434b654f846ab852d814dac5 parent 9cde31ea3e2e592fbddd9d36534c04ab537240fc Author: Asher Morgan <59518073+ashermorgan@users.noreply.github.com> Date: Sat, 27 Apr 2024 19:20:04 -0700 Remove user discriminators Diffstat:
| M | countdown_bot/botUtilities.py | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/countdown_bot/botUtilities.py b/countdown_bot/botUtilities.py @@ -53,11 +53,11 @@ async def getUsername(bot, id): Returns ------- str - The username (ex: "user#0000") + The username """ user = await bot.fetch_user(id) - return f"{user.name}#{user.discriminator}" + return user.name