Use boolean selector

This commit is contained in:
Cohee 2024-01-07 18:58:30 +02:00
parent 49483e2e21
commit 247048ebfa
1 changed files with 1 additions and 1 deletions

View File

@ -2267,7 +2267,7 @@ export async function importEmbeddedWorldInfo(skipPopup = false) {
function onWorldInfoChange(args, text) {
if (args !== '__notSlashCommand__') { // if it's a slash command
const silent = args.silent == 'true';
const silent = isTrueBoolean(args.silent);
if (text.trim() !== '') { // and args are provided
const slashInputSplitText = text.trim().toLowerCase().split(',');