missing line

This commit is contained in:
2019-04-04 23:15:02 +11:00
parent afc29cc1a3
commit bf07e5efd6

View File

@@ -117,6 +117,7 @@ function onMessage(msg, again = true) {
}
}
function doPMCommand(msg, prefix) {
var message = msg.cleanContent
const command = message.substring(prefix.length).split(/[ \n]/)[0].trim().toLowerCase()
msg.suffix = message.substring(prefix.length + command.length).trim()