aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'command.py')
-rw-r--r--command.py18
1 files changed, 17 insertions, 1 deletions
diff --git a/command.py b/command.py
index 7426901..22f7066 100644
--- a/command.py
+++ b/command.py
@@ -25,7 +25,23 @@ async def fedi_login_command(update: Update, context: ContextTypes.DEFAULT_TYPE)
25 25
26 26
27async def help_command(update: Update, context: ContextTypes.DEFAULT_TYPE) -> None: 27async def help_command(update: Update, context: ContextTypes.DEFAULT_TYPE) -> None:
28 await update.message.reply_text(PROMPT_HELP) 28 await update.message.reply_text(PROMPT_HELP, parse_mode=ParseMode.MARKDOWN, reply_markup=MAIN_MENU)
29
30
31async def tos_command(update: Update, context: ContextTypes.DEFAULT_TYPE) -> None:
32 await update.message.reply_text(PROMPT_TOS, parse_mode=ParseMode.HTML, reply_markup=MAIN_MENU)
33
34
35async def list_command(update: Update, context: ContextTypes.DEFAULT_TYPE) -> None:
36 await update.message.reply_text(PROMPT_LIST, parse_mode=ParseMode.HTML, reply_markup=MAIN_MENU)
37
38
39async def logout_command(update: Update, context: ContextTypes.DEFAULT_TYPE) -> None:
40 await update.message.reply_text(PROMPT_LOGOUT, parse_mode=ParseMode.HTML, reply_markup=MAIN_MENU)
41
42
43async def toggle_visibility_command(update: Update, context: ContextTypes.DEFAULT_TYPE) -> None:
44 await update.message.reply_text(PROMPT_TOGGLE_VIS, parse_mode=ParseMode.HTML, reply_markup=MAIN_MENU)
29 45
30 46
31async def cancel_command(update: Update, context: ContextTypes.DEFAULT_TYPE) -> int: 47async def cancel_command(update: Update, context: ContextTypes.DEFAULT_TYPE) -> int:
Powered by cgit v1.2.3 (git 2.41.0)