aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/exts/recruitment/talentpool/_cog.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/bot/exts/recruitment/talentpool/_cog.py b/bot/exts/recruitment/talentpool/_cog.py
index ad232df8c..5b9958d52 100644
--- a/bot/exts/recruitment/talentpool/_cog.py
+++ b/bot/exts/recruitment/talentpool/_cog.py
@@ -432,6 +432,13 @@ class TalentPool(Cog, name="Talentpool"):
reason += f"\n\n{message.jump_url}"
+ if len(reason) > REASON_MAX_CHARS:
+ await interaction.response.send_message(
+ ":x: Cannot add additional context due to nomination reason character limit.",
+ ephemeral=True
+ )
+ return
+
await self.api.edit_nomination_entry(
nomination.id,
actor_id=interaction.user.id,