소스 검색

fix: added AuditLogChangeKeyTempoary back for compatibility

nitroflap 3 년 전
부모
커밋
5ee06354aa
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      structs.go

+ 2 - 0
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