added fortunes cause cynic cant code :trol:
This commit is contained in:
parent
da8315fa53
commit
0a256fe478
26
client.js
26
client.js
|
@ -14,7 +14,7 @@ const emitter = require("events");
|
|||
const deek = new emitter();
|
||||
|
||||
const name = "rena_chan";
|
||||
const password = "yourmom";
|
||||
const password = "your mom";
|
||||
const userid = 12;
|
||||
var channels = [];
|
||||
var ws = [];
|
||||
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue