This commit is contained in:
@ -41,11 +41,8 @@ function cookInit() {
|
||||
}
|
||||
|
||||
function dealCommon(data) {
|
||||
for (let i of Object.keys(data)) {
|
||||
logger(data[i])
|
||||
}
|
||||
logger('开始处理指令')
|
||||
logger(data)
|
||||
logger(JSON.stringify(data))
|
||||
const [commandText, ...contentText] = data.text.trim().split(' ');
|
||||
for (let com of Object.keys(cookCommand)) {
|
||||
if (cookCommand[com].includes(commandText)) {
|
||||
|
Reference in New Issue
Block a user