Break out of loop when reply is found, removed a ton of the things teto can say

This commit is contained in:
bingus_violet 2024-11-23 01:33:38 -06:00
parent b884e89852
commit 41051441f6

31
bot.js
View file

@ -2,7 +2,7 @@ var responses = [
{ {
"type": "random", "type": "random",
"keywords": [ "keywords": [
["love", "cool"], ["love"],
["teto"] ["teto"]
], ],
"replies": [ "replies": [
@ -14,7 +14,7 @@ var responses = [
"type": "random", "type": "random",
"keywords": [ "keywords": [
["teto"], ["teto"],
["hate", "fuck", "despise", "kill", "die"] ["hate", "despise", "die"]
], ],
"replies": [ "replies": [
"D:", "D:",
@ -34,8 +34,7 @@ var responses = [
["sorry", "my bad", "apologies", "forgive"] ["sorry", "my bad", "apologies", "forgive"]
], ],
"replies": [ "replies": [
"None is forgiven. You will all pay for your sins one day.", "None is forgiven. You will all pay for your sins one day."
"I'll think about it."
] ]
}, },
{ {
@ -81,29 +80,6 @@ var responses = [
"Die in a fire." "Die in a fire."
] ]
}, },
{
"type": "random",
"keywords": [
["teto"],
["why"]
],
"replies": [
"Because!",
"Because I'm the adult here AND THAT'S FINAL!!! >:(",
"You'll understand when your older!!"
]
},
{
"type": "random",
"keywords": [
["teto"],
["feel", "thoughts", "how", "opinion"],
["miku", "hatsune"]
],
"replies": [
"Hatsune who? I don't know who your talking about, I guess you could say she wasn't TOO MESMERIZABLE!!!"
]
},
{ {
"type": "random", "type": "random",
"keywords": [ "keywords": [
@ -145,6 +121,7 @@ module.exports = {
reply = reply(message) reply = reply(message)
} }
message.reply(reply) message.reply(reply)
break
} }
} }
} }