Просмотр исходного кода

Add PermissionReadMessages deprecated comment

Eric Wohltman 5 лет назад
Родитель
Сommit
e83cac31da
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      structs.go

+ 1 - 0
structs.go

@@ -973,6 +973,7 @@ type IdentifyProperties struct {
 
 // Constants for the different bit offsets of text channel permissions
 const (
+	// Deprecated: PermissionReadMessages has been replaced with PermissionViewChannel for text and voice channels
 	PermissionReadMessages = 1 << (iota + 10)
 	PermissionSendMessages
 	PermissionSendTTSMessages