mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-09-21 03:27:42 +00:00
Fix typos in api reference docs
This commit is contained in:
+5
-5
@@ -240,7 +240,7 @@ AutoMod
|
||||
|
||||
.. function:: on_automod_rule_create(rule)
|
||||
|
||||
Called when a :class:`AutoModRule` is created.
|
||||
Called when an :class:`AutoModRule` is created.
|
||||
You must have :attr:`~Permissions.manage_guild` to receive this.
|
||||
|
||||
This requires :attr:`Intents.auto_moderation_configuration` to be enabled.
|
||||
@@ -252,7 +252,7 @@ AutoMod
|
||||
|
||||
.. function:: on_automod_rule_update(rule)
|
||||
|
||||
Called when a :class:`AutoModRule` is updated.
|
||||
Called when an :class:`AutoModRule` is updated.
|
||||
You must have :attr:`~Permissions.manage_guild` to receive this.
|
||||
|
||||
This requires :attr:`Intents.auto_moderation_configuration` to be enabled.
|
||||
@@ -264,7 +264,7 @@ AutoMod
|
||||
|
||||
.. function:: on_automod_rule_delete(rule)
|
||||
|
||||
Called when a :class:`AutoModRule` is deleted.
|
||||
Called when an :class:`AutoModRule` is deleted.
|
||||
You must have :attr:`~Permissions.manage_guild` to receive this.
|
||||
|
||||
This requires :attr:`Intents.auto_moderation_configuration` to be enabled.
|
||||
@@ -276,7 +276,7 @@ AutoMod
|
||||
|
||||
.. function:: on_automod_action(execution)
|
||||
|
||||
Called when a :class:`AutoModAction` is created/performed.
|
||||
Called when an :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.
|
||||
@@ -3984,7 +3984,7 @@ of :class:`enum.Enum`.
|
||||
|
||||
.. class:: SubscriptionStatus
|
||||
|
||||
Represents the status of an subscription.
|
||||
Represents the status of a subscription.
|
||||
|
||||
.. versionadded:: 2.5
|
||||
|
||||
|
||||
Reference in New Issue
Block a user