aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2021-09-07 12:30:46 +0100
committerGravatar Chris Lovering <[email protected]>2021-09-08 21:58:45 +0100
commit2a2b0cd34807b9a0d5292129c81d08b64ce476be (patch)
tree6509d68d51fc0748b3f83d0f70940cc466a5c5ef
parentWait until login before trying to use the bot api client (diff)
Remove previous nominations output
This raised questions from helpers when they saw that someone had many previous nominations. There is no reason why a helper needs to see this information.
-rw-r--r--bot/exts/recruitment/talentpool/_cog.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/bot/exts/recruitment/talentpool/_cog.py b/bot/exts/recruitment/talentpool/_cog.py
index 01a2f20e2..aaafff973 100644
--- a/bot/exts/recruitment/talentpool/_cog.py
+++ b/bot/exts/recruitment/talentpool/_cog.py
@@ -291,18 +291,7 @@ class TalentPool(Cog, name="Talentpool"):
if await self.autoreview_enabled() and user.id not in self.reviewer:
self.reviewer.schedule_review(user.id)
- history = await self.bot.api_client.get(
- 'bot/nominations',
- params={
- "user__id": str(user.id),
- "active": "false",
- "ordering": "-inserted_at"
- }
- )
-
msg = f"✅ The nomination for {user.mention} has been added to the talent pool"
- if history:
- msg += f"\n\n({len(history)} previous nominations in total)"
await ctx.send(msg)