Fix offset for PermissionViewChannel (#757)

This commit is contained in:
Eric Wohltman 2020-04-06 12:50:24 -04:00 committed by GitHub
parent e9dc1e7d97
commit 0a159acc0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1015,7 +1015,7 @@ const (
PermissionManageServer
PermissionAddReactions
PermissionViewAuditLogs
PermissionViewChannel
PermissionViewChannel = 1 << (iota + 10)
PermissionAllText = PermissionViewChannel |
PermissionSendMessages |