move logger into special file

This commit is contained in:
2025-07-06 20:54:48 +02:00
parent f82d9cea79
commit c6e5c76187
13 changed files with 77 additions and 19 deletions

View File

@@ -1,8 +1,9 @@
import { chatterId, streamerId, eventSub, commandPrefix, singleUserMode, streamerUsers, logger } from "..";
import { chatterId, streamerId, eventSub, commandPrefix, singleUserMode, streamerUsers } from "..";
import { User } from "../user";
import commands, { sendMessage } from "../commands";
import { redis } from "bun";
import { isAdmin } from "../lib/admins";
import logger from "../lib/logger";
logger.info(`Loaded the following commands: ${commands.keys().toArray().join(', ')}`);