DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
Represents an auto-moderation-rule. More...
#include <FoundationEntities.hpp>
Public Data Members | |
jsonifier::vector< action_data > | 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. | |
event_type | eventType {} |
The rule 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 guild which this rule belongs to. | |
jsonifier::string | name {} |
The rule name. | |
trigger_meta_data | triggerMetaData {} |
The rule trigger metadata actions array of action objects the. | |
trigger_type | triggerType {} |
The rule trigger type. | |