DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
Loading...
Searching...
No Matches
discord_core_api::modify_auto_moderation_rule_data Struct Reference

For modifying an auto-moderation-rule. More...

#include <AutoModerationEntities.hpp>

Public Data Members

jsonifier::vector< action_dataactions {}
 The actions which will execute when the rule is triggered.
 
snowflake autoModerationRuleId {}
 The id of the auto-moderation-rule you would like to modify.
 
bool enabled {}
 Whether the rule is enabled(false by default).
 
event_type eventType {}
 The event type.
 
jsonifier::vector< snowflakeexemptChannels {}
 The channel ids that should not be affected by the rule(maximum of 50).
 
jsonifier::vector< snowflakeexemptRoles {}
 The role ids that should not be affected by the rule(maximum of 20).
 
snowflake guildId {}
 The auto_moderation_rule_data within which to modify the auto-moderation-rule.
 
jsonifier::string name {}
 The rule name.
 
trigger_meta_data triggerMetadata {}
 The trigger metadata.
 

The documentation for this struct was generated from the following file: