From cf93a9abf88ba91bc4e27e1dd2b3650e2f500411 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Fri, 1 Nov 2024 02:10:08 +0200 Subject: [PATCH] Add Bot status to console --- src/index.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 6df7b58..f9a78ae 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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) => {