asAutoModerationRule

Requests to get this behavior as an AutoModerationRule.

This requires the ManageGuild permission.

Throws

if anything went wrong during the request.