Explorar el Código

Add PermissionReadMessages deprecated comment

Eric Wohltman hace 5 años
padre
commit
e83cac31da
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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