mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
* Revert "feat: base plugin lib idea (#2308)"
This reverts commit ffe7cdbc6f.
* fmt
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
export function snowflakeToBigint(snowflake: string) {
|
||||
return BigInt(snowflake) | 0n;
|
||||
}
|
||||
|
||||
export function bigintToSnowflake(snowflake: bigint) {
|
||||
return snowflake === 0n ? "" : snowflake.toString();
|
||||
}
|
||||
Reference in New Issue
Block a user