mirror of
https://github.com/litruv/DAdmin.git
synced 2026-07-25 03:06: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) {
|
function doPMCommand(msg, prefix) {
|
||||||
|
var message = msg.cleanContent
|
||||||
const command = message.substring(prefix.length).split(/[ \n]/)[0].trim().toLowerCase()
|
const command = message.substring(prefix.length).split(/[ \n]/)[0].trim().toLowerCase()
|
||||||
msg.suffix = message.substring(prefix.length + command.length).trim()
|
msg.suffix = message.substring(prefix.length + command.length).trim()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user