From 56e1977206ca6fbfa86918f17d1028975626c969 Mon Sep 17 00:00:00 2001 From: GiovaniFZ Date: Sun, 8 Sep 2024 14:10:50 -0300 Subject: [PATCH] fix: getStrings correctly and change botInfo help --- commands/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/main.js b/commands/main.js index 3ac3313..0b7a333 100644 --- a/commands/main.js +++ b/commands/main.js @@ -43,7 +43,7 @@ module.exports = (bot) => { const Strings = getStrings(ctx.from.language_code); const options = {reply_markup: JSON.stringify({ inline_keyboard: [ - [{ text: String.goback, callback_data: '5' }], + [{ text: Strings.goback, callback_data: '5' }], ]}) }; switch (callbackData) { @@ -61,7 +61,7 @@ module.exports = (bot) => { break; case '4': await ctx.answerCbQuery(); - await ctx.editMessageText(Strings.botinfo, options); + await ctx.editMessageText(Strings.botInfoHelp, options); break; case '5': await ctx.answerCbQuery();