more colors!

This commit is contained in:
jkhsjdhjs 2019-08-18 01:09:10 +02:00
parent d2d9ef70a5
commit ea212a5ad0
Signed by: jkhsjdhjs
GPG Key ID: BAC6ADBAB7D576CC

View File

@ -4,13 +4,25 @@ import net from "net";
import tls from "tls";
import EventEmitter from "events";
const colors = {
red: "04",
blue: "12",
yellow: "08",
green: "03",
brown: "05"
};
const colors = [
"white",
"black",
"navy",
"green",
"red",
"brown",
"purple",
"orange",
"yellow",
"lightgreen",
"teal",
"cyan",
"blue",
"magenta",
"gray",
"lightgray"
].reduce((a, b, i) => ({...a, ...{[b]: i.toString().padStart(2, 0)}}), {});
const msgmodes = {
normal: "PRIVMSG {recipient} :{msg}",
action: "PRIVMSG {recipient} :\u0001ACTION {msg}\u0001",