From 438d07d8eca550e0f5fe87fb2885af7758128870 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9F=A0=E6=AA=AC=E5=86=B2=E6=B0=B4?= <10424920+ningmengchongshui@user.noreply.gitee.com> Date: Wed, 28 Jun 2023 15:24:41 +0000 Subject: [PATCH] =?UTF-8?q?=E5=85=BC=E5=AE=B9alemon=E6=8C=87=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 柠檬冲水 <10424920+ningmengchongshui@user.noreply.gitee.com> --- lib/plugins/loader.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/plugins/loader.js b/lib/plugins/loader.js index 56f322e..67a0d47 100644 --- a/lib/plugins/loader.js +++ b/lib/plugins/loader.js @@ -262,6 +262,9 @@ class PluginsLoader { if (!this.filtPermission(e, v)) break a try { + if (e.msg) { + e.cmd_msg = e.msg; + } let res = plugin[v.fnc] && plugin[v.fnc](e) let start = Date.now()