Remove bot token from the shards logs (#3558)

This commit is contained in:
Fleny
2024-05-11 16:44:17 +02:00
committed by GitHub
parent 4bd508c82a
commit d0d810dfb5

View File

@@ -216,7 +216,7 @@ export class DiscordenoShard {
await this.connect()
this.logger.debug(
// eslint-disable-next-line @typescript-eslint/restrict-template-expressions
`[Gateway] Resuming Shard #${this.id}, after connecting. ${this.gatewayConfig.token} | ${this.sessionId} | ${this.previousSequenceNumber}`,
`[Gateway] Resuming Shard #${this.id}, after connecting. ${this.sessionId} | ${this.previousSequenceNumber}`,
)
this.send(