better /cut error messages

This commit is contained in:
RossAscends
2023-07-02 17:40:15 +09:00
parent 229ec5f255
commit 5dbfe209f6

View File

@ -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
} }