Concord - C Discord API library
A Discord API wrapper library written in C
discord_auto_moderation_action_execution Struct Reference

#include <gateway.h>

Collaboration diagram for discord_auto_moderation_action_execution:
[legend]

Data Fields

u64snowflake guild_id
 
struct discord_auto_moderation_actionaction
 
enum discord_auto_moderation_trigger_types rule_trigger_type
 
u64snowflake user_id
 
u64snowflake channel_id
 
u64snowflake message_id
 
u64snowflake alert_system_message_id
 
char * content
 
char * matched_keyword
 
char * matched_content
 

Detailed Description

Public methods

Field Documentation

◆ guild_id

u64snowflake discord_auto_moderation_action_execution::guild_id

the id of the guild in which action was executed

◆ action

struct discord_auto_moderation_action* discord_auto_moderation_action_execution::action

the action which was executed

◆ rule_trigger_type

enum discord_auto_moderation_trigger_types discord_auto_moderation_action_execution::rule_trigger_type

the trigger typeof rule which was triggered

◆ user_id

u64snowflake discord_auto_moderation_action_execution::user_id

the id of the user which generated the content which triggered the rule

◆ channel_id

u64snowflake discord_auto_moderation_action_execution::channel_id

the id of the channel in which user content was posted

◆ message_id

u64snowflake discord_auto_moderation_action_execution::message_id

the id of any user message which content belongs to

◆ alert_system_message_id

u64snowflake discord_auto_moderation_action_execution::alert_system_message_id

the id of any system auto moderation messages posted as a result of this action

◆ content

char* discord_auto_moderation_action_execution::content

the user generated text content

◆ matched_keyword

char* discord_auto_moderation_action_execution::matched_keyword

the word or phrase configured in the rule that triggered the rule

◆ matched_content

char* discord_auto_moderation_action_execution::matched_content

the substring in content that triggered the rule


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