aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ChrisJL <[email protected]>2021-09-22 18:59:14 +0100
committerGravatar Chris Lovering <[email protected]>2021-10-03 14:03:23 +0100
commit77f76cb85f97e619509d121ba2147c54b8d822e8 (patch)
tree1737e6a2aa29af6df7828ad690c58f9a153bc2d5
parentAllow helpers to edit their own nomination reason (diff)
Force kwargs when calling helper util
Co-authored-by: Bluenix <[email protected]>
-rw-r--r--bot/exts/recruitment/talentpool/_cog.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/exts/recruitment/talentpool/_cog.py b/bot/exts/recruitment/talentpool/_cog.py
index 0b56ea8b8..70535095d 100644
--- a/bot/exts/recruitment/talentpool/_cog.py
+++ b/bot/exts/recruitment/talentpool/_cog.py
@@ -390,11 +390,12 @@ class TalentPool(Cog, name="Talentpool"):
async def _edit_nomination_reason(
self,
ctx: Context,
+ *,
target: Union[int, Member],
actor: MemberOrUser,
reason: str,
) -> None:
- """Edits a nomination reason in the database after validating the input."""
+ """Edit a nomination reason in the database after validating the input."""
if len(reason) > REASON_MAX_CHARS:
await ctx.send(f":x: Maximum allowed characters for the reason is {REASON_MAX_CHARS}.")
return