2
0
mirror of https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git synced 2024-12-22 19:10:53 +08:00

fix:群聊发送可以绑定问题

This commit is contained in:
Ctrlcvs 2022-09-05 12:00:53 +08:00
parent 79d5bed204
commit f951174426

View File

@ -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);