From e83cac31da0299415634884f5d2d3ee73f992752 Mon Sep 17 00:00:00 2001 From: Eric Wohltman Date: Wed, 1 Apr 2020 10:00:26 -0400 Subject: [PATCH] Add PermissionReadMessages deprecated comment --- structs.go | 1 + 1 file changed, 1 insertion(+) diff --git a/structs.go b/structs.go index 3e9aecd..5b8fc45 100644 --- a/structs.go +++ b/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