From a4e8ea0390a3175326c9cd65676a04736dda2c5e Mon Sep 17 00:00:00 2001 From: Akulij Date: Wed, 21 May 2025 12:28:56 +0500 Subject: [PATCH] mainbot.js: use function in `buttons` field instead of function name --- mainbot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mainbot.js b/mainbot.js index f53e3be..7e1fb9c 100644 --- a/mainbot.js +++ b/mainbot.js @@ -3,7 +3,7 @@ const dialog = { commands: { start: { - buttons: "start_buttons", // default is `null` + buttons: start_buttons, // default is `null` state: "start" }, cancel: {