mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-03-05 03:02:49 +00:00
Add Discord timestamp converter and transformer
This commit is contained in:
@@ -118,6 +118,7 @@ __all__ = (
|
||||
|
||||
DISCORD_EPOCH = 1420070400000
|
||||
DEFAULT_FILE_SIZE_LIMIT_BYTES = 10485760
|
||||
TIMESTAMP_PATTERN: re.Pattern[str] = re.compile(r'<t:(-?\d+)(?::[tTdDfFsSR])?>')
|
||||
|
||||
|
||||
class _MissingSentinel:
|
||||
|
||||
Reference in New Issue
Block a user