Skip to content

Commit 2570db4

Browse files
committed
fix: add thread ID to batch key
1 parent ba5e257 commit 2570db4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/webhookData.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ export default class WebhookData {
358358
};
359359

360360
if (this.webhook.style === 'compact') {
361-
const batchKey = `compact:${this.model.id}:${this.webhook.webhookID}`;
361+
const batchKey = `compact:${this.model.id}:${this.webhook.webhookID}:${this.webhook.threadID ?? '-'}`;
362362
const compactLine = `\`${this.isChildAction() ? COMPACT_EMOJIS.CHILD : COMPACT_EMOJIS[this.filterFlag.split('_')[0]]}\` ${
363363
embedStyles.small.description
364364
}`;

0 commit comments

Comments
 (0)