Skip to content

Commit acab453

Browse files
committed
feat(bot): improve messages
1 parent 628a199 commit acab453

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/bot/scenes/add-product.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const steps = [
3434
const urls = message.match(/\bhttps?:\/\/\S+/gi);
3535

3636
if (!urls) {
37-
return await ctx.reply('No URL found, please try again or use /exit to leave.');
37+
return await ctx.reply('This is not a valid URL, please try again or use /exit to leave.');
3838
}
3939

4040
const url = urls[0];
@@ -72,7 +72,7 @@ const scene = new Scenes.WizardScene('add-product', ...steps);
7272

7373
scene.command('exit', async ctx => {
7474
await ctx.scene.leave();
75-
await ctx.reply('No products were added.');
75+
await ctx.reply('The operation was aborted.');
7676
});
7777

7878
module.exports = scene;

0 commit comments

Comments
 (0)