diff --git a/tests/utils.test.ts b/tests/utils.test.ts index ad74fab..7b35da6 100644 --- a/tests/utils.test.ts +++ b/tests/utils.test.ts @@ -13,8 +13,8 @@ test('format Number', () => { test('checking Permission', () => { expect(checkPerm(0x0, 0x0)).toBe(true) - expect(checkPerm(0x1, 0x2)).toBe(false) - expect(checkPerm(7, 'booster')).toBe(true) + expect(checkPerm(0x1, 0x4)).toBe(false) + expect(checkPerm(9, 'booster')).toBe(true) expect(checkPerm(0, 'staff')).toBe(false) expect(checkPerm(0x2, 'staff')).toBe(false) }) diff --git a/utils/Constants.ts b/utils/Constants.ts index ccf7020..3a15869 100644 --- a/utils/Constants.ts +++ b/utils/Constants.ts @@ -35,8 +35,8 @@ export const Status = { export const perms = { general: 0x0, staff: 0x1, - bughunter: 0x2, - booster: 0x4, + bughunter: 0x4, + booster: 0x8, } export const libs = [