This commit is contained in:
@ -41,6 +41,7 @@ function cookInit() {
|
||||
}
|
||||
|
||||
function dealCommon(data) {
|
||||
logger('开始处理指令')
|
||||
logger(data)
|
||||
const [commandText, ...contentText] = data.text.trim().split(' ');
|
||||
for (let com of cookCommand.keys()) {
|
||||
@ -55,4 +56,5 @@ export default function install(bot, queue) {
|
||||
Bot = bot;
|
||||
Queue = queue;
|
||||
cookInit();
|
||||
logger('cook 插件加载成功')
|
||||
}
|
||||
|
Reference in New Issue
Block a user