DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
Trigger metadata for auto-moderation-rules. More...
#include <FoundationEntities.hpp>
Public Data Members | |
jsonifier::vector< jsonifier::string > | allowList {} |
Substrings which will be exempt from triggering the preset trigger type. | |
jsonifier::vector< jsonifier::string > | keywordFilter {} |
Substrings which will be searched for in content.keyword_filter array of strings. | |
bool | mentionRaidProtectionEnabled {} |
MENTION_SPAM whether to automatically detect mention raids. | |
uint64_t | mentionTotalLimit {} |
Total number of unique role and user mentions allowed per message (maximum of 50). | |
jsonifier::vector< keyword_preset_type > | presets {} |
The internally pre-defined wordsets which will be searched for in content. | |
jsonifier::vector< jsonifier::string > | regexPatterns {} |
Array of strings** keyword regular expression patterns which will be matched against content. | |