aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Eivind Teig <[email protected]>2020-09-12 01:31:17 +0200
committerGravatar Eivind Teig <[email protected]>2020-09-12 01:31:17 +0200
commit0e24d104ac47685df4dbec2e8262da4a8c6c61d9 (patch)
treefde9b87d72f8f0942a70c6d9a3801d22da27d248
parentOnly show reason if it exist. (diff)
Update user cache after nomination reason edit.
-rw-r--r--bot/cogs/watchchannels/talentpool.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/watchchannels/talentpool.py b/bot/cogs/watchchannels/talentpool.py
index 6ba397308..7e3aed971 100644
--- a/bot/cogs/watchchannels/talentpool.py
+++ b/bot/cogs/watchchannels/talentpool.py
@@ -203,7 +203,7 @@ class TalentPool(WatchChannel, Cog, name="Talentpool"):
f"{self.api_endpoint}/{nomination_id}",
json={field: reason}
)
-
+ await self.fetch_user_cache() # Update cache.
await ctx.send(f":white_check_mark: Updated the {field} of the nomination!")
@Cog.listener()