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 | |
jsonifier::vector< action_data > | actions {} |
The actions which will execute when the rule is triggered. | |
snowflake | autoModerationRuleId {} |
The id of the auto-moderation-rule you would like to modify. | |
bool | enabled {} |
Whether the rule is enabled(false by default). | |
event_type | eventType {} |
The event type. | |
jsonifier::vector< snowflake > | exemptChannels {} |
The channel ids that should not be affected by the rule(maximum of 50). | |
jsonifier::vector< snowflake > | exemptRoles {} |
The role ids that should not be affected by the rule(maximum of 20). | |
snowflake | guildId {} |
The auto_moderation_rule_data within which to modify the auto-moderation-rule. | |
jsonifier::string | name {} |
The rule name. | |
trigger_meta_data | triggerMetadata {} |
The trigger metadata. | |