aboutsummaryrefslogtreecommitdiff
path: root/bot.py
diff options
context:
space:
mode:
authorclarkzjw <[email protected]>2023-02-23 21:18:49 -0800
committerclarkzjw <[email protected]>2023-02-23 21:19:21 -0800
commitcbfde03e620188d80213a8b15a4dffdb8948b257 (patch)
tree8f92afbed1137c6f992be57a84a3101a09475acc /bot.py
parentd7c1835ed41d50d8e0fd42fd8c33fa760ce24bb5 (diff)
downloadswarm2fediverse-cbfde03e620188d80213a8b15a4dffdb8948b257.tar.gz
bot: implement /logout command
Diffstat (limited to 'bot.py')
-rw-r--r--bot.py2
1 files changed, 2 insertions, 0 deletions
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:
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),
Powered by cgit v1.2.3 (git 2.41.0)