diff --git a/lib/plugins/loader.js b/lib/plugins/loader.js index e345b6c..b7b31dc 100644 --- a/lib/plugins/loader.js +++ b/lib/plugins/loader.js @@ -158,7 +158,9 @@ class PluginsLoader { * @param e icqq Events */ async deal (e) { - e.bot = Bot + Object.defineProperty(e, 'bot', { + value: Bot + }) /** 检查频道消息 */ if (this.checkGuildMsg(e)) return /** 检查黑白名单 */