You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`Sorry, I couldn't track this product. Make sure you've sent correct product link.`,
54
+
{parse_mode: "Markdown", reply_markup }
55
+
);
56
+
}
57
+
}else{
58
+
ctx.reply("I'm sorry, but you can't add more products as you've already reached the maximum limit.\n\nPlease delete atleast one product. And try again.\n\nTo get list send /list",
59
+
{reply_to_message_id: ctx.message.message_id});
60
+
}
61
+
}else{
62
+
ctx.reply(`Sorry, I can't track this product. Cuz the link you sent is not a amazon or flipkart product link.`);
63
+
}
64
+
}else{
65
+
ctx.reply(`Sorry ${ctx.message.chat.first_name}, I can't track this product. Make sure you've sent correct product link.`);
66
+
}
67
+
}catch(e){
68
+
console.error(e)
69
+
}
70
+
}
71
+
72
+
23
73
bot.command("start",(ctx)=>{
24
74
// start command
25
75
try{
26
76
ctx.reply(
27
77
`Hello ${ctx.message.chat.first_name}, I can track price for Amazon & Flipkart products (Soon more).\n\nCheck /help to get started.\n`,
`Sorry, I couldn't track this product. Make sure you've sent correct product link.`,
98
-
{parse_mode: "Markdown", reply_markup }
99
-
);
100
-
}
101
-
}else{
102
-
ctx.reply(
103
-
"I'm sorry, but you can't add more products as you've already reached the maximum limit.\n\nPlease delete atleast one product. And try again.\n\nTo get list send /list",
104
-
{reply_to_message_id: ctx.message.message_id}
105
-
);
106
-
}
107
-
}else{
108
-
ctx.reply(
109
-
`Sorry, I can't track this product. Cuz the link you sent is not a amazon or flipkart product link.`
110
-
);
111
-
}
112
-
}else{
113
-
ctx.reply(
114
-
`Sorry ${ctx.message.chat.first_name}, I can't track this product. Make sure you've sent correct product link.`
0 commit comments