diff --git a/restapi.go b/restapi.go index b2d69598f..6c95fb43a 100644 --- a/restapi.go +++ b/restapi.go @@ -527,8 +527,10 @@ func memberPermissions(guild *Guild, channel *Channel, userID string, roles []st } } + // administrator permissions imply all other permissions and bypasses overrides if apermissions&PermissionAdministrator == PermissionAdministrator { apermissions |= PermissionAll + return } // Apply @everyone overrides from the channel.