mirror of
https://github.com/insomniafi/insomniaid-bot.git
synced 2024-11-22 15:30:19 +00:00
Add Bot status to console
This commit is contained in:
parent
8b3dae3729
commit
cf93a9abf8
@ -1,5 +1,11 @@
|
||||
import { Client as DiscordClient, Collection, IntentsBitField } from "discord.js";
|
||||
|
||||
console.log('InsID-Bot ' + process.env.npm_package_version);
|
||||
console.log('Verkkopeliyhdistys Insomnia ry - Identity Bot');
|
||||
console.log('(c)2024 Verkkopeliyhdistys Insomnia ry & Warén Group');
|
||||
console.log('');
|
||||
|
||||
console.log('[Bot] Starting');
|
||||
|
||||
process.on('SIGINT', () => {
|
||||
process.exit();
|
||||
@ -17,7 +23,7 @@ process.on('uncaughtException', (error) => {
|
||||
});
|
||||
|
||||
process.on('exit', () => {
|
||||
|
||||
console.log('[Bot] Stopping');
|
||||
});
|
||||
|
||||
process.on('warning', (warning) => {
|
||||
|
Loading…
Reference in New Issue
Block a user