A simple tools comvert from discord id to datetime
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
discosnow-0.0.5.tar.gz
(2.0 kB
view hashes)
Built Distribution
Close
Hashes for discosnow-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2762e44b8c1aa132d29f26d3d69ac27b6345c7929bba5e428f30e41a5e45f736 |
|
MD5 | c8df8e1a7dc538285216dd220ef2c5f0 |
|
BLAKE2b-256 | 86fc3b6d46b2104f88556a19af5c3bec02ef6aed58cc43118e73471b0d83fab7 |