diff --git a/cogs/timestamp.py b/cogs/timestamp.py index d5945d1..630662f 100644 --- a/cogs/timestamp.py +++ b/cogs/timestamp.py @@ -2,7 +2,7 @@ ###################################################################### Usage: /timestamp → opens a popup form (day, time, country) - and returns all Discord variants. + and returns the Long Date+Time Discord tag. """ import calendar as cal_mod import logging @@ -27,23 +27,6 @@ _WEEKDAY: dict[str, int] = { "friday": 4, "saturday": 5, "sunday": 6, } -# --------------------------------------------------------------------------- -# helpers -# --------------------------------------------------------------------------- - -def _all_formats(unix_ts: int) -> list[tuple[str, str]]: - """Return every Discord timestamp format for *unix_ts*.""" - return [ - ("Short Time", f""), - ("Long Time", f""), - ("Short Date", f""), - ("Long Date", f""), - ("Short Date+Time", f""), - ("Long Date+Time", f""), - ("Relative", f""), - ] - - # ========================================== # MODAL # ==========================================