Skip to content

Commit 8d4326d

Browse files
committed
change clientReady log to use logger.bot, make logger.bot bold cyan
1 parent 7e02f7a commit 8d4326d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/events/clientReady.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ export default {
77
execute(client:Client) {
88
if (!client.user) return;
99
// console.log(chalk.white(`Ready! Logged in as ${client.user.tag}`))
10-
logger.startup(`Ready! Logged in as ${client.user.tag}`)
10+
logger.bot(`Ready! Logged in as ${client.user.tag}`)
1111
}
1212
}

src/libs/logger.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const logger = {
1919
console.log(`${timestamp()} ${chalk.red("ERROR")} ${message}`, ...args);
2020
},
2121
bot: (message: string, ...args: any[]) => {
22-
console.log(`${timestamp()} ${chalk.cyan("BOT")} ${message}`, ...args);
22+
console.log(`${timestamp()} ${chalk.cyan.bold("BOT")} ${message}`, ...args);
2323
},
2424
fatal: (message: string, ...args: any[]) => {
2525
console.log(`${timestamp()} ${chalk.red.bold("FATAL")} ${message}`, ...args);

0 commit comments

Comments
 (0)