From 9a7e17cfbc6198ff04f3f2f509aa8f4c43e2fd23 Mon Sep 17 00:00:00 2001 From: SillyLossy Date: Mon, 29 May 2023 12:57:30 +0300 Subject: [PATCH] #394 Preserve system message by assigning group generation id --- public/scripts/slash-commands.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/scripts/slash-commands.js b/public/scripts/slash-commands.js index 4ba5451ae..34f349e53 100644 --- a/public/scripts/slash-commands.js +++ b/public/scripts/slash-commands.js @@ -148,6 +148,7 @@ async function sendMessageAs(_, text) { original_avatar: original_avatar, extra: { bias: bias.trim().length ? bias : null, + gen_id: Date.now(), } }; @@ -178,6 +179,7 @@ async function sendNarratorMessage(_, text) { extra: { type: system_message_types.NARRATOR, bias: bias.trim().length ? bias : null, + gen_id: Date.now(), }, };