Skip to content

being24/discord-snowflake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

discord-snowflake

discordの各IDを、datetime型に変換するライブラリ。 d.pyを使うほどではないけれどIDから時間を知りたいときに

DEMO

import discosnow as ds

if __name__ == "__main__":
    message_id = 862620603979005962

    print(ds.snowflake2time(message_id))

Requirement

  • datetime

Usage

https://github.com/being24/discord-snowflake
cd examples
python demo.py

License

"discord-snowflake" is under MIT license.

About

A simple tools from discord-snowflake

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages