Skip to main content
Module

x/harmony/mod.ts>Snowflake

An easy to use Discord API Library for Deno.
Latest
class Snowflake
Re-export
import { Snowflake } from "https://deno.land/x/harmony@v2.9.0/mod.ts";

Utility class to extract data from a Snowflake (Discord ID)

Constructors

new
Snowflake(id: string)

Properties

id: string
readonly
increment: number
readonly
processID: number
readonly
snowflake: bigint
readonly
timestamp: number
readonly
toString: string
readonly
workerID: number