From 1c65a5badd6d9f5546fdbb620028676d21e01638 Mon Sep 17 00:00:00 2001 From: Wolfsblvt Date: Mon, 30 Sep 2024 18:38:17 +0200 Subject: [PATCH] Update /ask toasts to warnings for consistency --- public/scripts/slash-commands.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/scripts/slash-commands.js b/public/scripts/slash-commands.js index 9fe306279..6335e93b1 100644 --- a/public/scripts/slash-commands.js +++ b/public/scripts/slash-commands.js @@ -2481,7 +2481,7 @@ async function askCharacter(args, text) { // Not supported in group chats // TODO: Maybe support group chats? if (selected_group) { - toastr.error('Cannot run /ask command in a group chat!'); + toastr.warning('Cannot run /ask command in a group chat!'); return ''; } @@ -2501,7 +2501,7 @@ async function askCharacter(args, text) { // Find the character const chId = characters.findIndex((e) => e.name === name || e.avatar === name); if (!characters[chId] || chId === -1) { - toastr.error('Character not found.'); + toastr.warning('Character not found.'); return ''; }