From 62a694cf25eb644da290e40eacb6e5d50e4c8283 Mon Sep 17 00:00:00 2001 From: Amarnath C Date: Fri, 18 Oct 2024 21:26:15 +0530 Subject: [PATCH] Update start.py Add buttons for help menu to make it more convinient. --- modules/start.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/modules/start.py b/modules/start.py index 3d5c893..76e1b94 100644 --- a/modules/start.py +++ b/modules/start.py @@ -26,6 +26,17 @@ async def _start(msg): ) +help_menu = [ + [Button.inline("About", data="about")], + [Button.inline("Commands", data="commands")], + [Button.url("Support", "https://t.me/rosexchat")], + [Button.url("Source", "https://github.com/xamarnath/valeri")], +] + + @new_cmd(pattern="help") async def _help(msg): - await msg.reply("""Help is on the way!""") + await msg.reply("""Here is the help menu""", buttons=help_menu) + + +