summaryrefslogtreecommitdiff
path: root/discord/auditlog.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'discord/auditlog.hpp')
-rw-r--r--discord/auditlog.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/discord/auditlog.hpp b/discord/auditlog.hpp
index c6ce0cc..5d1c3fa 100644
--- a/discord/auditlog.hpp
+++ b/discord/auditlog.hpp
@@ -40,6 +40,9 @@ enum class AuditLogActionType {
INTEGRATION_CREATE = 80,
INTEGRATION_UPDATE = 81,
INTEGRATION_DELETE = 82,
+ STAGE_INSTANCE_CREATE = 83,
+ STAGE_INSTANCE_UPDATE = 84,
+ STAGE_INSTANCE_DELETE = 85,
};
struct AuditLogChange {
@@ -66,7 +69,7 @@ struct AuditLogOptions {
struct AuditLogEntry {
Snowflake ID;
std::string TargetID; // null
- Snowflake UserID;
+ std::optional<Snowflake> UserID;
AuditLogActionType Type;
std::optional<std::string> Reason;
std::optional<std::vector<AuditLogChange>> Changes;