From 0a159acc0cfb12fd4dd37d67a0d224f4af24d9ea Mon Sep 17 00:00:00 2001 From: Eric Wohltman Date: Mon, 6 Apr 2020 12:50:24 -0400 Subject: [PATCH] Fix offset for PermissionViewChannel (#757) --- structs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/structs.go b/structs.go index e177d29..730c91f 100644 --- a/structs.go +++ b/structs.go @@ -1015,7 +1015,7 @@ const ( PermissionManageServer PermissionAddReactions PermissionViewAuditLogs - PermissionViewChannel + PermissionViewChannel = 1 << (iota + 10) PermissionAllText = PermissionViewChannel | PermissionSendMessages |