edit

Requests to edit this AutoModerationRule and returns the edited rule.

This requires the ManageGuild permission.

Throws

if something went wrong during the request.


Requests to edit this KeywordAutoModerationRule and returns the edited rule.

This requires the ManageGuild permission.

Throws

if something went wrong during the request.


Requests to edit this SpamAutoModerationRule and returns the edited rule.

This requires the ManageGuild permission.

Throws

if something went wrong during the request.


Requests to edit this KeywordPresetAutoModerationRule and returns the edited rule.

This requires the ManageGuild permission.

Throws

if something went wrong during the request.


Requests to edit this MentionSpamAutoModerationRule and returns the edited rule.

This requires the ManageGuild permission.

Throws

if something went wrong during the request.


Requests to edit this MemberProfileAutoModerationRule and returns the edited rule.

This requires the ManageGuild permission.

Throws

if something went wrong during the request.