Skip to content

Commit

Permalink
fix: plugin return false (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
lava081 authored Aug 12, 2024
1 parent 3bec558 commit 0e0c172
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/event/handler/message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ export class MessageHandler extends EventBaseHandler {
}

this.GroupMsgPrint && info.log(this.e.self_id, `${logFnc} ${lodash.truncate(this.e.msg, { length: 80 })} 处理完成 ${logger.green(Date.now() - start + 'ms')}`)
if (res !== false) continue
if (res === false) continue
return
} catch (error: any) {
logger.error(`${this.e.logFnc}`)
Expand Down

0 comments on commit 0e0c172

Please sign in to comment.