Skip to content

Commit 97f9de7

Browse files
JustaSqu1dBobDotCom
authored andcommitted
fix(docs): correct AutoMod event arguments
1 parent e321fa3 commit 97f9de7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1447,7 +1447,7 @@ to handle it, which defaults to print a traceback and ignoring the exception.
14471447
:param rule: The deleted rule.
14481448
:type rule: :class:`AutoModRule`
14491449

1450-
.. function:: on_auto_moderation_action_execution(guild, action)
1450+
.. function:: on_auto_moderation_action_execution(payload)
14511451

14521452
Called when an auto moderation action is executed.
14531453

0 commit comments

Comments
 (0)