Skip to content

Commit

Permalink
fix(login): ClientReady logging
Browse files Browse the repository at this point in the history
  • Loading branch information
lulu12329 committed Feb 26, 2024
1 parent 8abfb75 commit 2da993b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/modules/event/services/clientReady.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ export class ClientReady extends AEvent {
event: keyof ClientEvents = Events.ClientReady;
once: boolean = true;

async execute(c) {
console.log('Successfully connected to Discord');
console.log(`logged in as ${c.user?.username}`);
async execute(args: ClientEvents[Events.ClientReady]) {
console.log('Successfully connected to Discord');
console.log(`logged in as ${args[0].user.username}`);
}
}

0 comments on commit 2da993b

Please sign in to comment.