mirror of
https://github.com/marcogll/vanessa_bot_vanity.git
synced 2026-01-13 13:25:16 +00:00
feat: Add /horario option and replace /start with /cancelar in UI keyboard.
This commit is contained in:
@@ -6,11 +6,14 @@ def main_actions_keyboard(is_registered: bool = False) -> ReplyKeyboardMarkup:
|
|||||||
keyboard = []
|
keyboard = []
|
||||||
if not is_registered:
|
if not is_registered:
|
||||||
keyboard.append(["/registro"])
|
keyboard.append(["/registro"])
|
||||||
|
|
||||||
keyboard.extend([
|
keyboard.extend(
|
||||||
["/vacaciones", "/permiso"],
|
[
|
||||||
["/links", "/start"],
|
["/horario"],
|
||||||
])
|
["/vacaciones", "/permiso"],
|
||||||
|
["/links", "/cancelar"],
|
||||||
|
]
|
||||||
|
)
|
||||||
|
|
||||||
return ReplyKeyboardMarkup(
|
return ReplyKeyboardMarkup(
|
||||||
keyboard,
|
keyboard,
|
||||||
|
|||||||
Reference in New Issue
Block a user