diff options
author | clarkzjw <[email protected]> | 2023-02-23 21:18:49 -0800 |
---|---|---|
committer | clarkzjw <[email protected]> | 2023-02-23 21:19:21 -0800 |
commit | cbfde03e620188d80213a8b15a4dffdb8948b257 (patch) | |
tree | 8f92afbed1137c6f992be57a84a3101a09475acc /bot.py | |
parent | d7c1835ed41d50d8e0fd42fd8c33fa760ce24bb5 (diff) | |
download | swarm2fediverse-cbfde03e620188d80213a8b15a4dffdb8948b257.tar.gz |
bot: implement /logout command
Diffstat (limited to 'bot.py')
-rw-r--r-- | bot.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -124,6 +124,8 @@ async def main() -> None: | |||
124 | Application.builder().updater(None).token(BOT_TOKEN).context_types(context_types).build() | 124 | Application.builder().updater(None).token(BOT_TOKEN).context_types(context_types).build() |
125 | ) | 125 | ) |
126 | 126 | ||
127 | # TODO: | ||
128 | # check user login status before invoking commands | ||
127 | checkin_handler = ConversationHandler( | 129 | checkin_handler = ConversationHandler( |
128 | entry_points=[ | 130 | entry_points=[ |
129 | CommandHandler("start", start_command), | 131 | CommandHandler("start", start_command), |