DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
For when an auto-moderation-rule is executed. More...
#include <AutoModerationEntities.hpp>
Public Data Members | |
action_data | action {} |
The action which was executed. | |
snowflake | alertSystemMessageId {} |
The id of any system auto moderation messages posted as a result of this action. | |
snowflake | channelId {} |
The id of the channel in which user content was posted. | |
jsonifier::string | content {} |
The user generated text content. | |
snowflake | guildId {} |
The id of the guild in which action was executed. | |
jsonifier::string | matchedContent {} |
The substring in content that triggered the rule. | |
jsonifier::string | matchedKeyword {} |
The word or phrase configured in the rule that triggered the rule. | |
snowflake | messageId {} |
The id of any user message which content belongs to. | |
snowflake | ruleId {} |
The id of the rule which action belongs to. | |
trigger_type | ruleTriggerType {} |
The trigger type of rule which was triggered. | |
snowflake | userId {} |
The id of the user which generated the content which triggered the rule. | |