From a643a707edd9c5f63f0fb44eb96ae66f12185104 Mon Sep 17 00:00:00 2001 From: Akulij Date: Sun, 18 May 2025 16:13:17 +0300 Subject: [PATCH] new specification of bot commands definition --- mainbot.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/mainbot.js b/mainbot.js index 162f31b..b064a25 100644 --- a/mainbot.js +++ b/mainbot.js @@ -1,9 +1,11 @@ // db - is set globally const dialog = { - start: { - buttons: "start_buttons" - } + commands: { + start: { + buttons: "start_buttons" + }, + }, } const fmt = (number) => number.toString().padStart(2, '0');