getAutoModerationRuleOrNull

Requests an AutoModerationRule by its id. Returns null if it wasn't found.

This requires the ManageGuild permission.

Throws

if something went wrong during the request.