From f951174426976476c8a2bb3865b15814c7b41b82 Mon Sep 17 00:00:00 2001 From: Ctrlcvs <1509167646@qq.com> Date: Mon, 5 Sep 2022 12:00:53 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E7=BE=A4=E8=81=8A=E5=8F=91=E9=80=81?= =?UTF-8?q?=E5=8F=AF=E4=BB=A5=E7=BB=91=E5=AE=9A=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/user.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/user.js b/apps/user.js index 5614dd4..1120d9e 100644 --- a/apps/user.js +++ b/apps/user.js @@ -167,6 +167,10 @@ export async function mytoken(e) { return true; } export async function bindStoken(e) { + if (!e.isPrivate) { + e.reply("请私聊发送") + return true; + } let msg = e.msg; let user = new User(e); let miHoYoApi = new MihoYoApi(e);