![]() |
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 | |
ActionData | 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. | |
std::string | content {} |
The user generated text content. | |
Snowflake | guildId {} |
The id of the guild in which action was executed. | |
std::string | matchedContent {} |
The substring in content that triggered the rule. | |
std::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. | |
TriggerType | ruleTriggerType {} |
The trigger type of rule which was triggered. | |
Snowflake | userId {} |
The id of the user which generated the content which triggered the rule. | |