From cbfde03e620188d80213a8b15a4dffdb8948b257 Mon Sep 17 00:00:00 2001 From: clarkzjw Date: Thu, 23 Feb 2023 21:18:49 -0800 Subject: bot: implement /logout command --- bot.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bot.py') diff --git a/bot.py b/bot.py index 6479460..aea62af 100644 --- a/bot.py +++ b/bot.py @@ -124,6 +124,8 @@ async def main() -> None: Application.builder().updater(None).token(BOT_TOKEN).context_types(context_types).build() ) + # TODO: + # check user login status before invoking commands checkin_handler = ConversationHandler( entry_points=[ CommandHandler("start", start_command), -- cgit v1.2.3