mirror of
https://github.com/litruv/DAdmin.git
synced 2026-07-24 02:36:11 +10:00
missing line
This commit is contained in:
1
index.js
1
index.js
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user