more colors!
This commit is contained in:
parent
d2d9ef70a5
commit
ea212a5ad0
|
@ -4,13 +4,25 @@ import net from "net";
|
||||||
import tls from "tls";
|
import tls from "tls";
|
||||||
import EventEmitter from "events";
|
import EventEmitter from "events";
|
||||||
|
|
||||||
const colors = {
|
const colors = [
|
||||||
red: "04",
|
"white",
|
||||||
blue: "12",
|
"black",
|
||||||
yellow: "08",
|
"navy",
|
||||||
green: "03",
|
"green",
|
||||||
brown: "05"
|
"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 = {
|
const msgmodes = {
|
||||||
normal: "PRIVMSG {recipient} :{msg}",
|
normal: "PRIVMSG {recipient} :{msg}",
|
||||||
action: "PRIVMSG {recipient} :\u0001ACTION {msg}\u0001",
|
action: "PRIVMSG {recipient} :\u0001ACTION {msg}\u0001",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user