Skip to content

Commit

Permalink
added Special replies
Browse files Browse the repository at this point in the history
  • Loading branch information
Shubha Pratim Biswas authored Nov 12, 2022
1 parent e7b23ab commit 9759794
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions Core.js
Original file line number Diff line number Diff line change
Expand Up @@ -1374,8 +1374,8 @@ return list[Math.floor(list.length * Math.random())]
}

//Some special chat replies
/*
let smallinput = budy.toLowerCase()

let smallinput = budy.toLowerCase()
if (smallinput.includes('hello')) {
reply (`Hello *${pushname}*, I am *${BotName}*. How can i help you?`);
}
Expand All @@ -1384,8 +1384,16 @@ return list[Math.floor(list.length * Math.random())]
reply (`Konichiwa *${pushname}*, I am *${BotName}*. How can i help you?`);
}

if (smallinput.includes('bot')) {
reply (`Hello *${pushname}*, I am *${BotName}*, a WhatsApp bot made by *Fantox* and currently being hosted by *${OwnerName}*`);
if (smallinput=='bot') {
reply (`Hello *${pushname}*, I am *${BotName}*, a WhatsApp bot made by *Fantox* and currently being hosted by *${OwnerName}*. type *${prefix}help* to get my full command list.`);
}

if (smallinput=='lol') {
reply (`*XD*`)
}

if (smallinput=='op') {
reply (`Hehe`)
}

if (smallinput.includes('good morning') || smallinput.includes('ohayo')) {
Expand All @@ -1398,9 +1406,7 @@ return list[Math.floor(list.length * Math.random())]

if (smallinput.includes('arigato')|| smallinput.includes('arigatou') || smallinput.includes('thank')) {
reply (`Mention not *${pushname}* 😇. I am a bot afterall.`);
}
*/

}

switch(command) {

Expand Down

0 comments on commit 9759794

Please sign in to comment.