updated logging

This commit is contained in:
zomo
2026-04-19 19:20:25 -05:00
parent 0f5e4b3c4b
commit dc5afe4743
4 changed files with 30 additions and 10 deletions
+4 -2
View File
@@ -1,4 +1,4 @@
import { NameConfigInstance, ignoreMod } from './options'
import { DEBUG, NameConfigInstance, ignoreMod } from './options'
import { getRandomName, getStoredUser, setStoredUser } from './storage'
import { ChatMessage } from './util'
@@ -9,7 +9,9 @@ export function obfuscator(
return null
}
console.log(`[OBFUSCATOR] Updating Username: ${chatMessage.username}`)
if (DEBUG) {
console.info(`[OBFUSCATOR] Updating Username: ${chatMessage.username}`)
}
chatMessage.username = chatMessage.username.toLowerCase()