From d70ef64bc74a2043f9499bb3a8290af792e99d4b Mon Sep 17 00:00:00 2001 From: Skillz Date: Wed, 5 Aug 2020 14:37:07 -0400 Subject: [PATCH] remove storing strings instead of 1 number --- src/structures/role.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/structures/role.ts b/src/structures/role.ts index ebe61f450..e8e6a4574 100644 --- a/src/structures/role.ts +++ b/src/structures/role.ts @@ -1,9 +1,7 @@ import { RoleData } from "../types/role.ts"; -import { calculatePermissions } from "../utils/permissions.ts"; export const createRole = (data: RoleData) => ({ ...data, - permissions: calculatePermissions(BigInt(data.permissions_new)), /** The @ mention of the role in a string. */ mention: `<@&${data.id}>`, });