Concord - C Discord API library
A Discord API wrapper library written in C
|
#include <gateway.h>
Data Fields | |
u64snowflake | guild_id |
struct discord_auto_moderation_action * | action |
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 |
Public methods
discord_auto_moderation_action_execution_from_json(const char json[], size_t len, struct discord_auto_moderation_action_execution *this)
discord_auto_moderation_action_execution_from_jsmnf(jsmnf *root, const char json[], struct discord_auto_moderation_action_execution *this)
discord_auto_moderation_action_execution_to_json(char buf[], size_t size, const struct discord_auto_moderation_action_execution *this)
discord_auto_moderation_action_execution_to_jsonb(jsonb *b, char buf[], size_t size, const struct discord_auto_moderation_action_execution *this)
u64snowflake discord_auto_moderation_action_execution::guild_id |
the id of the guild in which action was executed
struct discord_auto_moderation_action* discord_auto_moderation_action_execution::action |
the action which was executed
enum discord_auto_moderation_trigger_types discord_auto_moderation_action_execution::rule_trigger_type |
the trigger typeof rule which was triggered
u64snowflake discord_auto_moderation_action_execution::user_id |
the id of the user which generated the content which triggered the rule
u64snowflake discord_auto_moderation_action_execution::channel_id |
the id of the channel in which user content was posted
u64snowflake discord_auto_moderation_action_execution::message_id |
the id of any user message which content belongs to
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
char* discord_auto_moderation_action_execution::content |
the user generated text content
char* discord_auto_moderation_action_execution::matched_keyword |
the word or phrase configured in the rule that triggered the rule
char* discord_auto_moderation_action_execution::matched_content |
the substring in content that triggered the rule