Browse Source

Add PermissionReadMessages deprecated comment

Eric Wohltman 5 years ago
parent
commit
e83cac31da
1 changed files with 1 additions and 0 deletions
  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