From 96996fd33dff4dda7f0cdde9f461c13e2cf90659 Mon Sep 17 00:00:00 2001 From: Akulij Date: Sun, 18 May 2025 16:08:34 +0300 Subject: [PATCH] update mainbot.js with new specification --- mainbot.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/mainbot.js b/mainbot.js index 5bc56b3..162f31b 100644 --- a/mainbot.js +++ b/mainbot.js @@ -2,7 +2,7 @@ const dialog = { start: { - buttons: start_buttons + buttons: "start_buttons" } } @@ -22,14 +22,15 @@ const formatDate = (date) => { function start_buttons() { const now = new Date(); const dateFormated = formatDate(now); - print(console) // return 1 return dateFormated } const config = { - version: 1.0 + version: 1.1 } -{config, dialog} +// {config, dialog} +const c = {config: config, dialog: dialog} +c