clean spaces

This commit is contained in:
karl.hudgell 2020-06-21 21:31:20 +01:00
parent 541c3c1c1e
commit c7f05aa80b

4
app.js
View File

@ -14,12 +14,12 @@ bot.on('message', (msg) => {
const help = "help"; const help = "help";
if (msg.text.toString().toLowerCase().includes(help)) { if (msg.text.toString().toLowerCase().includes(help)) {
bot.sendMessage(msg.chat.id, "Hello " + msg.from.first_name + " Please PM me @" + process.env.BOT_USERNAME + " and i'll help."); bot.sendMessage(msg.chat.id, "Hello " + msg.from.first_name + " please PM me @" + process.env.BOT_USERNAME + " and i'll try to help.");
} }
const bye = "bye"; const bye = "bye";
if (msg.text.toString().toLowerCase().includes(bye)) { if (msg.text.toString().toLowerCase().includes(bye)) {
bot.sendMessage(msg.chat.id, "Hope to see you again, Bye " + msg.from.first_name + "."); bot.sendMessage(msg.chat.id, "Bye " + msg.from.first_name + ", Hope to see you again.");
} }
const subPrice = "- subscription prices"; const subPrice = "- subscription prices";