mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
Update src/structures/role.ts
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user