diff --git a/packages/core/src/structures/special/permissions.ts b/packages/core/src/structures/special/permissions.ts index f8931f5..d13a37e 100644 --- a/packages/core/src/structures/special/permissions.ts +++ b/packages/core/src/structures/special/permissions.ts @@ -38,7 +38,7 @@ export class Permissions implements BitField { /** Wheter the bitfield has the administrator flag */ get admin(): boolean { - return (this.bitfield & BigInt(Permissions.Flags.ADMINISTRATOR)) === this.bitfield; + return this.has(Permissions.Flags.ADMINISTRATOR); } get array(): PermissionString[] {