This commit is contained in:
Hri7566 2022-12-06 11:28:20 -05:00
parent 088827b6f8
commit 58a22828f4
2 changed files with 5 additions and 0 deletions

View File

@ -135,6 +135,10 @@ class Channel extends EventEmitter {
let col = getTimeColor();
let col2 = new Color(col.r - 0x40, col.g - 0x40, col.b - 0x40);
if (!this.settings) {
this.settings = new RoomSettings(this.server.lobbySettings);
}
this.settings.color = col.toHexa();
this.settings.color2 = col.toHexa();

View File

@ -96,6 +96,7 @@ class InternalBot {
break;
case "eval":
case "javascript":
case "js":
if (!isAdmin) return;
cl.server.ev(argcat);
break;