getAutoModerationRule
open suspend fun getAutoModerationRule(guildId: Snowflake, ruleId: Snowflake): AutoModerationRule(source)
Requests an AutoModerationRule by its id.
This requires the ManageGuild permission.
Throws
if something went wrong during the request.
if the AutoModerationRule wasn't found.