chore: merge branch dev
to main
#200
1 changed files with 5 additions and 5 deletions
10
src/load.ts
10
src/load.ts
|
@ -61,11 +61,11 @@ export const run = async (isDev: boolean) => {
|
||||||
console.log(logStart(client_name, true));
|
console.log(logStart(client_name, true));
|
||||||
console.log(`Botanique "${client.user?.username}" v${client.config.version} started!`);
|
console.log(`Botanique "${client.user?.username}" v${client.config.version} started!`);
|
||||||
|
|
||||||
// ^C
|
// Handle quit
|
||||||
process.on("SIGINT", () => quit(client));
|
process.on("exit", () => quit(client));
|
||||||
|
process.on("SIGHUP", () => process.exit(128 + 1));
|
||||||
// Container force closed
|
process.on("SIGINT", () => process.exit(128 + 2));
|
||||||
process.on("SIGTERM", () => quit(client));
|
process.on("SIGTERM", () => process.exit(128 + 15));
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
console.error(err);
|
console.error(err);
|
||||||
|
|
Loading…
Reference in a new issue