v3.1.0 initial

This commit is contained in:
TheNetsky
2026-01-05 16:26:47 +01:00
parent a8ddb65b21
commit 576899f39d
37 changed files with 3391 additions and 865 deletions

View File

@@ -73,10 +73,10 @@ export class Logger {
const now = new Date().toLocaleString()
const formatted = formatMessage(message)
const userName = this.bot.userData.userName ? this.bot.userData.userName : 'MAIN'
const levelTag = level.toUpperCase()
const cleanMsg = `[${now}] [${this.bot.userData.userName}] [${levelTag}] ${platformText(
isMobile
)} [${title}] ${formatted}`
const cleanMsg = `[${now}] [${userName}] [${levelTag}] ${platformText(isMobile)} [${title}] ${formatted}`
const config = this.bot.config
@@ -85,7 +85,7 @@ export class Logger {
}
const badge = platformBadge(isMobile)
const consoleStr = `[${now}] [${this.bot.userData.userName}] [${levelTag}] ${badge} [${title}] ${formatted}`
const consoleStr = `[${now}] [${userName}] [${levelTag}] ${badge} [${title}] ${formatted}`
let logColor: ColorKey | undefined = color