![]() |
DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
Represents an auto-moderation-rule. More...
#include <FoundationEntities.hpp>
Public Data Members | |
std::vector< ActionData > | actions {} |
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. | |
![]() | |
Snowflake | id {} |
The identifier "snowflake" of the given entity. | |