diff options
author | 2022-01-07 19:30:11 -0500 | |
---|---|---|
committer | 2022-01-07 19:30:11 -0500 | |
commit | 341e38739eb284d16597957162787d64ae579f87 (patch) | |
tree | 119a45115f26d8e3564f3f2f3e34781a43c56e77 | |
parent | changing vague parts of the talentpool to the user specified for clarity (diff) |
using target instead of actor
-rw-r--r-- | bot/exts/recruitment/talentpool/_cog.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bot/exts/recruitment/talentpool/_cog.py b/bot/exts/recruitment/talentpool/_cog.py index de4c43b0e..f76713fae 100644 --- a/bot/exts/recruitment/talentpool/_cog.py +++ b/bot/exts/recruitment/talentpool/_cog.py @@ -406,9 +406,11 @@ class TalentPool(Cog, name="Talentpool"): return if isinstance(target, int): nomination_id = target + target_mention = (await self.bot.fetch_user(target)).mention else: if nomination := self.cache.get(target.id): nomination_id = nomination["id"] + target_mention = target.mention else: await ctx.send("No active nomination found for that member.") return @@ -438,7 +440,7 @@ class TalentPool(Cog, name="Talentpool"): json={"actor": actor.id, "reason": reason} ) await self.refresh_cache() # Update cache - await ctx.send(f":white_check_mark: Successfully updated nomination reason for {actor.mention}") + await ctx.send(f":white_check_mark: Successfully updated nomination reason for {target_mention}") @nomination_edit_group.command(name='end_reason') @has_any_role(*MODERATION_ROLES) |