From 6453edde0942470b1468cc93776a64a66a95de3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zyy=2E=E5=B0=8F=E9=92=B0?= <1072411694@qq.com> Date: Sat, 12 Aug 2023 11:19:27 +0000 Subject: [PATCH] =?UTF-8?q?=E9=80=82=E9=85=8D=E4=B8=8B=E9=A2=91=E9=81=93?= =?UTF-8?q?=E6=8F=92=E4=BB=B6=E8=BD=AC=E5=8F=91...=20[QQGuild-plugin](http?= =?UTF-8?q?s://gitee.com/Zyy955/QQGuild-plugin)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Zyy.小钰 <1072411694@qq.com> --- lib/common/common.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/common/common.js b/lib/common/common.js index 6de7879..9775360 100644 --- a/lib/common/common.js +++ b/lib/common/common.js @@ -67,6 +67,9 @@ function mkdirs(dirname) { * @param msgsscr 转发信息是否伪装 */ async function makeForwardMsg(e, msg = [], dec = '', msgsscr = false) { + /** 是频道插件直接返回 */ + if (e.QQGuild) return msg + if (!Array.isArray(msg)) msg = [msg] let name = msgsscr ? e.sender.card || e.user_id : Bot.nickname