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

Defines audit log changes. More...

#include "auditlog.h"

Collaboration diagram for dpp::audit_change:

Public Attributes

std::string key
 The property name that was changed (e.g. More...
 
std::string new_value
 Optional: Serialised new value of the change, e.g. More...
 
std::string old_value
 Optional: Serialised old value of the change, e.g. 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.


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