From 5ee06354aa7a277da487b427a6790512e1bd0e7e Mon Sep 17 00:00:00 2001 From: nitroflap Date: Wed, 16 Feb 2022 14:57:14 +0300 Subject: [PATCH] fix: added AuditLogChangeKeyTempoary back for compatibility --- structs.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/structs.go b/structs.go index 384a56c..60de63d 100644 --- a/structs.go +++ b/structs.go @@ -1074,6 +1074,8 @@ const ( AuditLogChangeKeyTags AuditLogChangeKey = "tags" // AuditLogChangeKeyTemporary is sent when invite code is now temporary or never expires (bool) - invite AuditLogChangeKeyTemporary AuditLogChangeKey = "temporary" + // TODO: remove when compatibility is not required + AuditLogChangeKeyTempoary = AuditLogChangeKeyTemporary // AuditLogChangeKeyTopic is sent when text channel topic or stage instance topic changed (string) - channel or stage instance AuditLogChangeKeyTopic AuditLogChangeKey = "topic" // AuditLogChangeKeyType is sent when type of entity created (int or string) - any