From 137064023257381f76cc29cafa85eba7643ab30e Mon Sep 17 00:00:00 2001 From: GiovaniFZ Date: Sat, 7 Sep 2024 00:00:25 -0300 Subject: [PATCH] refactor: Remove this as we do the map on inline_keyboard now --- commands/gsmarena.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/commands/gsmarena.js b/commands/gsmarena.js index 2b01784..ac0a557 100644 --- a/commands/gsmarena.js +++ b/commands/gsmarena.js @@ -198,10 +198,6 @@ module.exports = (bot) => { return ctx.reply("No phones found."); } - const buttons = results.map((result) => { - return Markup.button.callback(result.name, `details:${result.url}:${ctx.from.id}`); - }); - const testUser = `${userName}, Select a device:`; const options = { parse_mode: 'HTML',