D++ (DPP)  10.0.30
C++ Discord API Bot Library
dpp::audit_extra Struct Reference

Extra information for an audit log entry. More...

#include "auditlog.h"

Collaboration diagram for dpp::audit_extra:

Public Attributes

snowflake application_id
 ID of the app whose permissions were targeted. More...
 
std::string automod_rule_name
 Name of the Auto Moderation rule that was triggered. More...
 
std::string automod_rule_trigger_type
 Trigger type of the Auto Moderation rule that was triggered. More...
 
snowflake channel_id
 Channel in which the entities were targeted. More...
 
std::string count
 Number of entities that were targeted. More...
 
std::string delete_member_days
 Number of days after which inactive members were kicked. More...
 
snowflake id
 ID of the overwritten entity. More...
 
std::string members_removed
 Number of members removed by the prune. More...
 
snowflake message_id
 ID of the message that was targeted. More...
 
std::string role_name
 Name of the role if type is "0" (not present if type is "1"). More...
 
std::string type
 Type of overwritten entity - "0" for "role" or "1" for "member". More...
 

Detailed Description

Extra information for an audit log entry.

Member Data Documentation

◆ application_id

snowflake dpp::audit_extra::application_id

ID of the app whose permissions were targeted.

Referenced by dpp::audit_entry::fill_from_json_impl().

◆ automod_rule_name

std::string dpp::audit_extra::automod_rule_name

Name of the Auto Moderation rule that was triggered.

Referenced by dpp::audit_entry::fill_from_json_impl().

◆ automod_rule_trigger_type

std::string dpp::audit_extra::automod_rule_trigger_type

Trigger type of the Auto Moderation rule that was triggered.

Referenced by dpp::audit_entry::fill_from_json_impl().

◆ channel_id

snowflake dpp::audit_extra::channel_id

Channel in which the entities were targeted.

Referenced by dpp::audit_entry::fill_from_json_impl().

◆ count

std::string dpp::audit_extra::count

Number of entities that were targeted.

Referenced by dpp::audit_entry::fill_from_json_impl().

◆ delete_member_days

std::string dpp::audit_extra::delete_member_days

Number of days after which inactive members were kicked.

Referenced by dpp::audit_entry::fill_from_json_impl().

◆ id

snowflake dpp::audit_extra::id

ID of the overwritten entity.

Referenced by dpp::audit_entry::fill_from_json_impl().

◆ members_removed

std::string dpp::audit_extra::members_removed

Number of members removed by the prune.

Referenced by dpp::audit_entry::fill_from_json_impl().

◆ message_id

snowflake dpp::audit_extra::message_id

ID of the message that was targeted.

Referenced by dpp::audit_entry::fill_from_json_impl().

◆ role_name

std::string dpp::audit_extra::role_name

Name of the role if type is "0" (not present if type is "1").

Referenced by dpp::audit_entry::fill_from_json_impl().

◆ type

std::string dpp::audit_extra::type

Type of overwritten entity - "0" for "role" or "1" for "member".

Referenced by dpp::audit_entry::fill_from_json_impl().


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