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.
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 {}

Additional Inherited Members

- Public Member Functions inherited from DiscordCoreAPI::DiscordEntity
String getCreatedAtTimestamp (TimeFormat timeFormat)
 Converts the snowflake-id into a time and date stamp. More...

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