Update /ask toasts to warnings for consistency
| @@ -2481,7 +2481,7 @@ async function askCharacter(args, text) { | |||
| 2481 | // Not supported in group chats | 2481 | // Not supported in group chats |
| 2482 | // TODO: Maybe support group chats? | 2482 | // TODO: Maybe support group chats? |
| 2483 | if (selected_group) { | 2483 | if (selected_group) { |
| 2484 | toastr.error('Cannot run /ask command in a group chat!'); | 2484 | toastr.warning('Cannot run /ask command in a group chat!'); |
| 2485 | return ''; | 2485 | return ''; |
| 2486 | } | 2486 | } |
| 2487 | 2487 | ||
| @@ -2501,7 +2501,7 @@ async function askCharacter(args, text) { | |||
| 2501 | // Find the character | 2501 | // Find the character |
| 2502 | const chId = characters.findIndex((e) => e.name === name || e.avatar === name); | 2502 | const chId = characters.findIndex((e) => e.name === name || e.avatar === name); |
| 2503 | if (!characters[chId] || chId === -1) { | 2503 | if (!characters[chId] || chId === -1) { |
| 2504 | toastr.error('Character not found.'); | 2504 | toastr.warning('Character not found.'); |
| 2505 | return ''; | 2505 | return ''; |
| 2506 | } | 2506 | } |
| 2507 | 2507 | ||