fix missing substituteParams when executing non-command QRs

This commit is contained in:
LenAnderson 2024-01-07 00:11:30 +00:00
parent f7b1b490c7
commit fffdd8e5d8
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
import { getRequestHeaders } from '../../../../script.js';
import { getRequestHeaders, substituteParams } from '../../../../script.js';
import { executeSlashCommands } from '../../../slash-commands.js';
import { debounceAsync, warn } from '../index.js';
import { QuickReply } from './QuickReply.js';
@ -123,7 +123,7 @@ export class QuickReplySet {
return typeof result === 'object' ? result?.pipe : '';
}
ta.value = input;
ta.value = substituteParams(input);
ta.focus();
if (!this.disableSend) {