diff options
author | 2021-12-16 20:06:44 +0000 | |
---|---|---|
committer | 2021-12-16 20:06:44 +0000 | |
commit | 85242f87d8c946b645d0ca50ed266a78dd51393d (patch) | |
tree | 1536020dbd70cf3b5450eb926bc299b95705e3fa | |
parent | Merge branch 'main' of https://github.com/evgriff/sir-lancebot (diff) |
user.mention
-rw-r--r-- | bot/exts/holidays/halloween/candy_collection.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/holidays/halloween/candy_collection.py b/bot/exts/holidays/halloween/candy_collection.py index 9b16d543..61dc8f97 100644 --- a/bot/exts/holidays/halloween/candy_collection.py +++ b/bot/exts/holidays/halloween/candy_collection.py @@ -190,8 +190,8 @@ class CandyCollection(commands.Cog): def get_user_candy_score() -> str: for user_id, score in records: if user_id == ctx.author.id: - return f'<@{ctx.author.id}>: {score}' - return f'<@{ctx.author.id}>: 0' + return f'{ctx.author.mention}: {score}' + return f'{ctx.author.mention}: 0' e = discord.Embed(colour=discord.Colour.og_blurple()) e.add_field( |