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

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

+ Collaboration diagram for dpp::audit_extra:

Public Attributes

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

◆ automod_rule_name

std::string dpp::audit_extra::automod_rule_name

Name of the Auto Moderation rule that was triggered.

◆ automod_rule_trigger_type

std::string dpp::audit_extra::automod_rule_trigger_type

Trigger type of the Auto Moderation rule that was triggered.

◆ channel_id

snowflake dpp::audit_extra::channel_id

Channel in which the entities were targeted.

◆ count

std::string dpp::audit_extra::count

Number of entities that were targeted.

◆ delete_member_days

std::string dpp::audit_extra::delete_member_days

Number of days after which inactive members were kicked.

◆ id

snowflake dpp::audit_extra::id

ID of the overwritten entity.

◆ members_removed

std::string dpp::audit_extra::members_removed

Number of members removed by the prune.

◆ message_id

snowflake dpp::audit_extra::message_id

ID of the message that was targeted.

◆ role_name

std::string dpp::audit_extra::role_name

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

◆ type

std::string dpp::audit_extra::type

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

D++ Library version 9.0.13D++ Library version 9.0.12D++ Library version 9.0.11D++ Library version 9.0.10D++ Library version 9.0.9D++ Library version 9.0.8D++ Library version 9.0.7D++ Library version 9.0.6D++ Library version 9.0.5D++ Library version 9.0.4D++ Library version 9.0.3D++ Library version 9.0.2D++ Library version 9.0.1D++ Library version 9.0.0D++ Library version 1.0.2D++ Library version 1.0.1D++ Library version 1.0.0