diff --git a/frontend/openchat-client/src/openchat.ts b/frontend/openchat-client/src/openchat.ts index dffa2ada3a..88ee87a27f 100644 --- a/frontend/openchat-client/src/openchat.ts +++ b/frontend/openchat-client/src/openchat.ts @@ -7944,6 +7944,11 @@ export class OpenChat extends EventTarget { forwarded: false, deleted: false, blockLevelMarkdown: false, + botContext: { + initiator: this.#liveState.user.userId, + finalised: false, + commandText: `/${bot.command.name}`, + }, }; const event = { index: eventIndex,