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

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

#include <AutoModerationEntities.hpp>

Public Data Members

std::vector< ActionDataactions {}
 The actions which will execute when the rule is triggered.
 
uint64_t autoModerationRuleId {}
 The id of the auto-moderation-rule you would like to modify.
 
bool enabled {}
 Whether the rule is enabled(False by default).
 
EventType eventType {}
 The event type.
 
std::vector< uint64_t > exemptChannels {}
 The channel ids that should not be affected by the rule(Maximum of 50).
 
std::vector< uint64_t > exemptRoles {}
 The role ids that should not be affected by the rule(Maximum of 20).
 
Snowflake guildId {}
 The AutoModerationRule within which to modify the auto-moderation-rule.
 
std::string name {}
 The rule name.
 
TriggerMetaData triggerMetadata {}
 The trigger metadata.
 

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