mirror of
https://github.com/TheNetsky/Microsoft-Rewards-Script.git
synced 2026-01-18 22:13:58 +00:00
v3.1.0 initial
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user