module Snowcord

Defined in:

snowcord.cr

Constant Summary

DISCORD_EPOCH = 1420070400000_i64
VERSION = "1.0.0"

Class Method Summary

Class Method Detail

def self.snowflake_at(time : Int = Time.utc.to_unix_ms) #

[View source]
def self.to_snowflake(unix_timestamp : Int) #

[View source]
def self.to_unix(snowflake : Int) #

[View source]