added fortunes cause cynic cant code :trol:

This commit is contained in:
lolcat 2024-10-05 21:59:50 -04:00
parent da8315fa53
commit 0a256fe478
1 changed files with 25 additions and 1 deletions

View File

@ -32,6 +32,25 @@ var img_headers = {
"Connection": "keep-alive"
};
var fortunes = [
"You will meet a dark stranger.",
"You will be eaten by a grue.",
"Your fortune: Bad Luck.",
"Your fortune: Good Luck.",
"Your fortune: Reply hazy, try again.",
"Your fortune: Outlook not so good.",
"Your fortune: YES.",
"Your fortune: NO.",
"Your fortune: Absolutely.",
"Your fortune: Very doubtful.",
"Your fortune: Cannot predict now.",
"Your fortune: Signs point to yes.",
"Your fortune: Don't count on it.",
"Your fortune: You may rely on it.",
"Your fortune: Concentrate and ask again.",
"Your fortune: The future is uncertain."
];
var headers = {
"User-Agent": "renabot",
"Origin": "https://deek.chat"
@ -970,6 +989,11 @@ deek.on("message", async function(msg, user){
await fetch_xeno(res_get.recordings, 1, msg);
break;
case "fortune":
case "f":
send(msg, fortunes[Math.floor(Math.random() * fortunes.length]));
break;
case "help":
case "h":
send(