logchannel command

This commit is contained in:
2022-11-24 12:12:50 +01:00
parent d8365128fc
commit 082bfe6097
8 changed files with 38 additions and 17 deletions

View File

@ -4,10 +4,13 @@ import swapConsole from "./src/tools/consoleSwapper";
config();
swapConsole();
import "./src/client";
import "./src/client/init";
import "./src/commands";
import client from "./src/client";
function shutdown() {
console.log("Shutdown request received");
if (client) client.destroy();
process.exit();
}