diff --git a/src/structures/role.ts b/src/structures/role.ts index d99c8ee17..8d6d7d88c 100644 --- a/src/structures/role.ts +++ b/src/structures/role.ts @@ -129,7 +129,7 @@ export async function createDiscordenoRole( const role: DiscordenoRole = Object.create(baseRole, { ...props, - permissions: createNewProp(snowflakeToBigint(rest.permissions)), + permissions: createNewProp(BigInt(rest.permissions)), botId: createNewProp(tags.botId ? snowflakeToBigint(tags.botId) : undefined), isNitroBoostRole: createNewProp("premiumSubscriber" in tags), integrationId: createNewProp(tags.integrationId ? snowflakeToBigint(tags.integrationId) : undefined),