![]() |
DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
For modifying 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. | |
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. | |