From 8d6db2ea84dba48c38095dac0bd62979fa05be3c Mon Sep 17 00:00:00 2001 From: Abbass Al-Musawi <73327881+AbbassAlmusawi@users.noreply.github.com> Date: Fri, 15 Dec 2023 12:29:57 +0300 Subject: [PATCH] docs(readme): use correct bot.start function (#215) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f0149b9..150d948 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ const menuMiddleware = new MenuMiddleware('/', menuTemplate); bot.command('start', (ctx) => menuMiddleware.replyToContext(ctx)); bot.use(menuMiddleware); -bot.launch(); +await bot.start(); ``` ### More interesting one