diff --git a/src/websocket/discord/shard.ts b/src/websocket/discord/shard.ts index 2865352..4bebddb 100644 --- a/src/websocket/discord/shard.ts +++ b/src/websocket/discord/shard.ts @@ -103,7 +103,7 @@ export class Shard { message.d, (_, value) => { if (typeof value === 'string') - return value.replace(this.options.token, v => { + return value.replaceAll(this.options.token, v => { const split = v.split('.'); return `${split[0]}.${'*'.repeat(split[1].length)}.${'*'.repeat(split[2].length)}`; });