31 lines
673 B
Python
31 lines
673 B
Python
"""Backward-compatibility shim."""
|
|
|
|
import logging
|
|
|
|
from app.discord import ( # noqa: F401
|
|
bot_status,
|
|
get_bot,
|
|
purge_pending_for_participants,
|
|
send_one_on_one_dm,
|
|
send_one_on_one_response,
|
|
send_schedule_notification,
|
|
start_bot,
|
|
)
|
|
from app.discord.bot import ( # noqa: F401
|
|
TeamTryoutsBot,
|
|
_stop_bot,
|
|
bot_instance,
|
|
bot_thread,
|
|
supervise_bot,
|
|
)
|
|
from app.discord.constants import ( # noqa: F401
|
|
CHECK_EMOJI,
|
|
CROSS_EMOJI,
|
|
PENDING_MAX_AGE_DAYS,
|
|
REMINDER_GRACE_SECONDS,
|
|
USER_CACHE_MAX,
|
|
)
|
|
from app.discord.queue import message_queue # noqa: F401
|
|
|
|
logger = logging.getLogger('app.discord_bot') # noqa: F811
|