Readd
Some checks failed
Deploy bot / build-and-deploy (push) Failing after 2s

This commit is contained in:
2025-08-26 00:28:59 +02:00
commit 7a87b284af
40 changed files with 3681 additions and 0 deletions

14
bot/log.js Normal file
View File

@ -0,0 +1,14 @@
// logger.js
function log(level, message, ...args) {
const now = new Date().toISOString();
const levelLabel = `[${level.toUpperCase()}]`.padEnd(8);
console.log(`${now} ${levelLabel} ${message}`, ...args);
}
module.exports = {
info: (msg, ...args) => log("info", msg, ...args),
warn: (msg, ...args) => log("warn", msg, ...args),
error: (msg, ...args) => log("error", msg, ...args),
debug: (msg, ...args) => log("debug", msg, ...args),
};