remove fish

This commit is contained in:
karl.hudgell 2020-06-22 12:34:07 +01:00
parent 7153bd3990
commit 3ee69aa2b4

7
app.js
View File

@ -55,13 +55,6 @@ bot.on('message', (msg) => {
bot.sendMessage(msg.chat.id, "Fuck off yourself " + msg.from.first_name + "!"); bot.sendMessage(msg.chat.id, "Fuck off yourself " + msg.from.first_name + "!");
} }
const fish = "fish";
const userMention = "[" + msg.from.first_name + "](tg://user?id=" + msg.from.id + ")"
if (msg.text.toString().toLowerCase().includes(fish)) {
bot.sendMessage(msg.chat.id, userMention, { parse_mode: "Markdown" });
}
const whatSubShouldIBuy = "what sub should i buy?" const whatSubShouldIBuy = "what sub should i buy?"
const subs = ["VIP!", "Premium Plus!", "Old Premium!", "Gold!", "Bronze!", "New Premium!", "KDB!", "Technoid!", "Bluemoon!", "SOL!", "Gambler!", "All of em!"] const subs = ["VIP!", "Premium Plus!", "Old Premium!", "Gold!", "Bronze!", "New Premium!", "KDB!", "Technoid!", "Bluemoon!", "SOL!", "Gambler!", "All of em!"]
if (msg.text.toString().toLowerCase().includes(whatSubShouldIBuy)) { if (msg.text.toString().toLowerCase().includes(whatSubShouldIBuy)) {