clean spaces
This commit is contained in:
parent
541c3c1c1e
commit
c7f05aa80b
4
app.js
4
app.js
@ -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";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user