mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +00:00
Fix MISSING error for enabled param in create_automod_rule
This commit is contained in:
parent
79c508311f
commit
103d75540c
@ -4064,7 +4064,7 @@ class Guild(Hashable):
|
||||
event_type: AutoModRuleEventType,
|
||||
trigger: AutoModTrigger,
|
||||
actions: List[AutoModRuleAction],
|
||||
enabled: bool = MISSING,
|
||||
enabled: bool = False,
|
||||
exempt_roles: Sequence[Snowflake] = MISSING,
|
||||
exempt_channels: Sequence[Snowflake] = MISSING,
|
||||
reason: str = MISSING,
|
||||
@ -4089,7 +4089,7 @@ class Guild(Hashable):
|
||||
The actions that will be taken when the automod rule is triggered.
|
||||
enabled: :class:`bool`
|
||||
Whether the automod rule is enabled.
|
||||
Discord will default to ``False``.
|
||||
Defaults to ``False``.
|
||||
exempt_roles: Sequence[:class:`abc.Snowflake`]
|
||||
A list of roles that will be exempt from the automod rule.
|
||||
exempt_channels: Sequence[:class:`abc.Snowflake`]
|
||||
|
Loading…
x
Reference in New Issue
Block a user