trigger removal: no longer needed

This commit is contained in:
esef committed 2026-07-20 22:22:39 +03:00
1 parent bbee62f2d9
commit 16cef19077
1 file changed
-15
-15
View File
@@ -12,27 +12,12 @@ import logging
import os
import re
from datetime import timezone, timedelta
import discord
from discord.ext import commands
from .tz_data import find_offset, has_ampm, normalize_bare_hours, parse_bare_hours
log = logging.getLogger(__name__)
# ---------------------------------------------------------------------------
# optional dependency
# ---------------------------------------------------------------------------
try:
import dateparser
from dateparser.search import search_dates as _search_dates
HAS_DATEPARSER = True
except ImportError:
HAS_DATEPARSER = False
log.warning(
"timestamp_friends: dateparser not installed; "
"install with `pip install dateparser`"
)
# ---------------------------------------------------------------------------
# trigger phrase