This repository has been archived by the owner. It is now read-only.

snowcord

Small Discord Snowflake converter

snowcord

Small Discord Snowflake converter

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      snowcord:
        github: asdffdsdaf/snowcord
    
  2. Run shards install

Usage

require "snowcord"

Snowcord.snowflake_at # Convert current time to Discord Snowflake

Snowcord.to_snowflake(unix) # Convert unix timestamp to Discord Snowflake
Snowcord.to_unix(snowflake) # Convert Discord Snowflake to unix timestamp
Repository

snowcord

Owner
Statistic
  • 0
  • 0
  • 0
  • 0
  • 0
  • over 3 years ago
  • July 16, 2021
License

MIT License

Links
Synced at

Thu, 21 Nov 2024 08:12:09 GMT

Languages