Skip to content

Commit

Permalink
chore: add more debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Deivu committed Dec 16, 2024
1 parent 6efc347 commit dafaade
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/node/Node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -296,12 +296,12 @@ export class Node extends TypedEventEmitter<NodeEvents> {
}
}

this.emit('debug', `[Socket] -> [${this.name}] : Lavalink is ready! | Lavalink resume: ${json.resumed} | Lib resume: ${resumedByLibrary}`);
this.emit('debug', `[Socket] -> [${this.name}] : Lavalink is ready to communicate !`);
this.emit('ready', json.resumed, resumedByLibrary);

if (this.manager.options.resume) {
await this.rest.updateSession(this.manager.options.resume, this.manager.options.resumeTimeout);
this.emit('debug', `[Socket] -> [${this.name}] : Resuming configured!`);
this.emit('debug', `[Socket] -> [${this.name}] : Resuming configured for this Session Id: ${this.sessionId}`);
}

break;
Expand Down

0 comments on commit dafaade

Please sign in to comment.