A Discord bot library written in C++, with custom asynchronous coroutines.
No Matches
DiscordCoreAPI::AutoModerationRuleData Class Reference

Represents an auto-moderation-rule. More...

#include <FoundationEntities.hpp>

Inheritance diagram for DiscordCoreAPI::AutoModerationRuleData:

Public Data Members

std::vector< ActionDataactions {}
 Actions which will execute when the rule is triggered.
Snowflake creatorId {}
 The user which first created this rule.
bool enabled {}
 Whether the rule is enabled.
EventType eventType {}
 The rule event type.
std::vector< Snowflake > exemptChannels {}
 The channel ids that should not be affected by the rule(Maximum of 50).
std::vector< Snowflake > exemptRoles {}
 The role ids that should not be affected by the rule(Maximum of 20).
Snowflake guildId {}
 The guild which this rule belongs to.
std::string name {}
 The rule name.
TriggerMetaData triggerMetaData {}
 The rule trigger metadata actions array of action objects the.
TriggerType triggerType {}
 The rule trigger type.
- Public Data Members inherited from DiscordCoreAPI::DiscordEntity
Snowflake id {}
 The identifier "snowflake" of the given entity.

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