|
|
@ -164,6 +164,7 @@ AutoMod |
|
|
|
.. function:: on_automod_rule_create(rule) |
|
|
|
|
|
|
|
Called when a :class:`AutoModRule` is created. |
|
|
|
You must have :attr:`~Permissions.manage_guild` to receive this. |
|
|
|
|
|
|
|
This requires :attr:`Intents.auto_moderation_configuration` to be enabled. |
|
|
|
|
|
|
@ -175,6 +176,7 @@ AutoMod |
|
|
|
.. function:: on_automod_rule_update(rule) |
|
|
|
|
|
|
|
Called when a :class:`AutoModRule` is updated. |
|
|
|
You must have :attr:`~Permissions.manage_guild` to receive this. |
|
|
|
|
|
|
|
This requires :attr:`Intents.auto_moderation_configuration` to be enabled. |
|
|
|
|
|
|
@ -186,6 +188,7 @@ AutoMod |
|
|
|
.. function:: on_automod_rule_delete(rule) |
|
|
|
|
|
|
|
Called when a :class:`AutoModRule` is deleted. |
|
|
|
You must have :attr:`~Permissions.manage_guild` to receive this. |
|
|
|
|
|
|
|
This requires :attr:`Intents.auto_moderation_configuration` to be enabled. |
|
|
|
|
|
|
@ -197,6 +200,7 @@ AutoMod |
|
|
|
.. function:: on_automod_action(execution) |
|
|
|
|
|
|
|
Called when a :class:`AutoModAction` is created/performed. |
|
|
|
You must have :attr:`~Permissions.manage_guild` to receive this. |
|
|
|
|
|
|
|
This requires :attr:`Intents.auto_moderation_execution` to be enabled. |
|
|
|
|
|
|
|