Skip to content

Commit a254b43

Browse files
committed
fix: update templates
1 parent a0049c3 commit a254b43

File tree

2 files changed

+5
-2
lines changed
  • packages/create-commandkit/templates
    • JavaScript/src/app/events/ready
    • TypeScript/src/app/events/ready

2 files changed

+5
-2
lines changed
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
import { Logger } from 'commandkit/logger'
2+
13
/**
24
* @param {import('discord.js').Client<true>} client
35
*/
46
export default function log(client) {
5-
console.log(`Logged in as ${client.user.username}!`);
7+
Logger.success(`Logged in as ${client.user.username}!`);
68
}
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import type { Client } from 'discord.js';
2+
import { Logger } from 'commandkit/logger';
23

34
export default function log(client: Client<true>) {
4-
console.log(`Logged in as ${client.user.username}!`);
5+
Logger.success(`Logged in as ${client.user.username}!`);
56
}

0 commit comments

Comments
 (0)