We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64b3ec5 commit 7c03197Copy full SHA for 7c03197
bot.js
@@ -233,12 +233,10 @@ const track = async () => {
233
{
234
parse_mode: "HTML",
235
reply_markup: {
236
- inline_keyboard: [
237
- details?.link
238
- ? ([{ text: "Buy Now", url: details.link }],
239
- [{ text: "Stop Tracking - " + product.tracking_id, callback_data: `stopTracking`, },])
240
- : [],
241
- ]
+ inline_keyboard: details?.link ? [
+ [{ text: "Buy Now", url: details.link }],
+ [{ text: "Stop Tracking - " + product.tracking_id, callback_data: `stopTracking`, }]]
+ : []
242
}
243
});
244
} catch (e) { bot.start() }
0 commit comments