mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
better /cut error messages
This commit is contained in:
@ -1014,7 +1014,7 @@ async function doMesCut(_, text) {
|
|||||||
|
|
||||||
//reject invalid args or no args
|
//reject invalid args or no args
|
||||||
if (text && isNaN(text) || !text) {
|
if (text && isNaN(text) || !text) {
|
||||||
toastr.error('Must enter a message ID number.')
|
toastr.error(`Must enter a single number only, non-number characters disallowed.`)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user