cli support

This commit is contained in:
2022-11-24 20:15:36 +01:00
parent 62aa05031f
commit cd60d7dabc
7 changed files with 316 additions and 4 deletions

View File

@ -7,6 +7,7 @@ swapConsole();
import "./src/client/init";
import "./src/commands";
import "./src/events";
import "./src/cli";
import client from "./src/client";
function shutdown() {
@ -16,4 +17,5 @@ function shutdown() {
}
process.on("SIGINT", shutdown);
process.on("SIGHUP", shutdown);
process.on("SIGHUP", shutdown);
process.on("SIGTERM", shutdown);