添加 e.bot 对象 (#50)

This commit is contained in:
时雨◎星空 2023-04-01 03:19:01 +08:00 committed by GitHub
parent 7b5fb755a5
commit 2e3a9f4987
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -162,6 +162,7 @@ class PluginsLoader {
* @param e icqq Events * @param e icqq Events
*/ */
async deal (e) { async deal (e) {
e.bot = Bot
/** 检查频道消息 */ /** 检查频道消息 */
if (this.checkGuildMsg(e)) return if (this.checkGuildMsg(e)) return
/** 检查黑白名单 */ /** 检查黑白名单 */