D++ (DPP)  10.0.30
C++ Discord API Bot Library
automod.h File Reference
#include <dpp/export.h>
#include <dpp/snowflake.h>
#include <dpp/managed.h>
#include <dpp/utility.h>
#include <dpp/json_fwd.h>
#include <dpp/json_interface.h>
Include dependency graph for automod.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  dpp::automod_action
 Represents an automod action. More...
 
struct  dpp::automod_metadata
 Metadata associated with an automod action. More...
 
class  dpp::automod_rule
 Represents an automod rule. More...
 

Namespaces

 dpp
 The main namespace for D++ functions.
 

Typedefs

typedef std::unordered_map< snowflake, automod_rule > dpp::automod_rule_map
 A group of automod rules. More...
 

Enumerations

enum  dpp::automod_action_type : uint8_t {
  dpp::amod_action_block_message = 1,
  dpp::amod_action_send_alert = 2,
  dpp::amod_action_timeout = 3
}
 Action types to perform on filtering. More...
 
enum  dpp::automod_event_type : uint8_t { dpp::amod_message_send = 1 }
 Event types, only message send is currently supported. More...
 
enum  dpp::automod_preset_type : uint8_t {
  dpp::amod_preset_profanity = 1,
  dpp::amod_preset_sexual_content = 2,
  dpp::amod_preset_slurs = 3
}
 Possible types of preset filter lists. More...
 
enum  dpp::automod_trigger_type : uint8_t {
  dpp::amod_type_keyword = 1,
  dpp::amod_type_harmful_link = 2,
  dpp::amod_type_spam = 3,
  dpp::amod_type_keyword_preset = 4,
  dpp::amod_type_mention_spam = 5
}
 Types of moderation to trigger. More...