fix: added AuditLogChangeKeyTempoary back for compatibility

This commit is contained in:
nitroflap 2022-02-16 14:57:14 +03:00
parent c26bf45ce0
commit 5ee06354aa
No known key found for this signature in database
GPG key ID: 810F53DB0E0F81A8

View file

@ -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