DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
Loading...
Searching...
No Matches
DiscordCoreAPI::TriggerMetaData Struct Reference

Trigger metadata for auto-moderation-rules. More...

#include <FoundationEntities.hpp>

Public Data Members

std::vector< std::string > allowList {}
 Substrings which will be exempt from triggering the preset trigger type.
 
std::vector< std::string > keywordFilter {}
 Substrings which will be searched for in content.keyword_filter array of strings.
 
int32_t mentionTotalLimit {}
 Total number of unique role and user mentions allowed per message (Maximum of 50).
 
std::vector< KeywordPresetTypepresets {}
 The internally pre-defined wordsets which will be searched for in content.
 

The documentation for this struct was generated from the following files: