添加 e.bot 对象 (#50)
This commit is contained in:
parent
7b5fb755a5
commit
2e3a9f4987
|
@ -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
|
||||||
/** 检查黑白名单 */
|
/** 检查黑白名单 */
|
||||||
|
|
Loading…
Reference in New Issue