![]() |
DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
For creating an auto-moderation-rule. More...
#include <AutoModerationEntities.hpp>
Public Data Members | |
std::vector< ActionData > | actions {} |
The actions which will execute when the rule is triggered. | |
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 Guild within which to create the AutoModerationRule. | |
std::string | name {} |
The rule name. | |
TriggerMetaData | triggerMetadata {} |
The trigger metadata. | |
TriggerType | triggerType {} |
The trigger type. | |