asAutoModerationRule

Requests to get this behavior as a MentionSpamAutoModerationRule.

This requires the ManageGuild permission.

Throws

if anything went wrong during the request.