Fix /del command (for real this time)

This commit is contained in:
Cohee
2023-11-08 23:42:44 +02:00
parent aae8707460
commit 9667b82599
2 changed files with 4 additions and 5 deletions

View File

@ -1814,9 +1814,8 @@ async function doMesCut(_, text) {
}
async function doDelMode(_, text) {
//first enter delmode
$("#option_delete_mes").trigger('click')
$("#option_delete_mes").trigger('click', { fromSlashCommand: true });
//reject invalid args
if (text && isNaN(text)) {