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

Defines audit log changes. More...

+ Collaboration diagram for dpp::audit_change:

Public Attributes

std::string new_value
 Optional: Serialised new value of the change, e.g. for nicknames, the new nickname. More...
 
std::string old_value
 Optional: Serialised old value of the change, e.g. for nicknames, the old nickname. More...
 
std::string key
 The property name that was changed (e.g. nick for nickname changes). More...
 

Detailed Description

Defines audit log changes.

Member Data Documentation

◆ key

std::string dpp::audit_change::key

The property name that was changed (e.g. nick for nickname changes).

Note
For dpp::aut_appcommand_permission_update updates the key is the id of the user, channel, role, or a permission constant that was updated instead of an actual property name.

◆ new_value

std::string dpp::audit_change::new_value

Optional: Serialised new value of the change, e.g. for nicknames, the new nickname.

◆ old_value

std::string dpp::audit_change::old_value

Optional: Serialised old value of the change, e.g. for nicknames, the old nickname.

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