Przeglądaj źródła

Add PermissionReadMessages deprecated comment

Eric Wohltman 5 lat temu
rodzic
commit
e83cac31da
1 zmienionych plików z 1 dodań i 0 usunięć
  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