diff options
Diffstat (limited to 'command.py')
-rw-r--r-- | command.py | 18 |
1 files changed, 17 insertions, 1 deletions
@@ -25,7 +25,23 @@ async def fedi_login_command(update: Update, context: ContextTypes.DEFAULT_TYPE) | |||
25 | 25 | ||
26 | 26 | ||
27 | async def help_command(update: Update, context: ContextTypes.DEFAULT_TYPE) -> None: | 27 | async 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 | |||
31 | async 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 | |||
35 | async 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 | |||
39 | async 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 | |||
43 | async 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 | ||
31 | async def cancel_command(update: Update, context: ContextTypes.DEFAULT_TYPE) -> int: | 47 | async def cancel_command(update: Update, context: ContextTypes.DEFAULT_TYPE) -> int: |