From 2e3a9f4987b51d5edfc22b827d48b4226437d351 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=97=B6=E9=9B=A8=E2=97=8E=E6=98=9F=E7=A9=BA?= Date: Sat, 1 Apr 2023 03:19:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20e.bot=20=E5=AF=B9=E8=B1=A1?= =?UTF-8?q?=20(#50)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/plugins/loader.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/plugins/loader.js b/lib/plugins/loader.js index 3db9b30..abd0ab3 100644 --- a/lib/plugins/loader.js +++ b/lib/plugins/loader.js @@ -162,6 +162,7 @@ class PluginsLoader { * @param e icqq Events */ async deal (e) { + e.bot = Bot /** 检查频道消息 */ if (this.checkGuildMsg(e)) return /** 检查黑白名单 */