diff --git a/cogs/timestamp.py b/cogs/timestamp.py index e56d9d8..d5945d1 100644 --- a/cogs/timestamp.py +++ b/cogs/timestamp.py @@ -148,16 +148,13 @@ class TimestampModal(discord.ui.Modal, title="Timestamp Converter"): ).replace(tzinfo=tz) unix_ts = int(local_dt.astimezone(timezone.utc).timestamp()) - # --- output all formats --- + # --- output single Long Date+Time format --- lines = [ f"**{local_dt.strftime('%d %B at %H:%M')}**", - f"Unix: `{unix_ts}`", + f"`` ← Long Date+Time", "", + "*Times display in each viewer's local timezone.*", ] - for label, tag in _all_formats(unix_ts): - lines.append(f"`{tag}` ← {label}") - lines.append("") - lines.append("*Copy the tag you want — times display in each viewer's local timezone.*") await interaction.response.send_message( "\n".join(lines), diff --git a/cogs/timestamp_friends.py b/cogs/timestamp_friends.py index 5ea05ab..3e60e74 100644 --- a/cogs/timestamp_friends.py +++ b/cogs/timestamp_friends.py @@ -80,8 +80,6 @@ class TimestampFriends(commands.Cog): # --- quick bail-outs --- if message.author.bot: return - if not HAS_DATEPARSER: - return if message.author.id not in self.friends: return if not _TRIGGER_RE.search(message.content):