mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Allow dice rolls in {{random}}
This commit is contained in:
@ -2055,8 +2055,8 @@ function substituteParams(content, _name1, _name2, _original, _group, _replaceCh
|
||||
const utcTime = moment().utc().utcOffset(utcOffset).format('LT');
|
||||
return utcTime;
|
||||
});
|
||||
content = randomReplace(content);
|
||||
content = diceRollReplace(content);
|
||||
content = randomReplace(content);
|
||||
content = bannedWordsReplace(content);
|
||||
return content;
|
||||
}
|
||||
@ -8575,7 +8575,7 @@ jQuery(async function () {
|
||||
if (this_chid !== undefined || selected_group) {
|
||||
// Previously system messages we're allowed to be edited
|
||||
/*const message = $(this).closest(".mes");
|
||||
|
||||
|
||||
if (message.data("isSystem")) {
|
||||
return;
|
||||
}*/
|
||||
|
Reference in New Issue
Block a user