mirror of
https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git
synced 2024-12-23 03:20:52 +08:00
fix:群聊发送可以绑定问题
This commit is contained in:
parent
79d5bed204
commit
f951174426
@ -167,6 +167,10 @@ export async function mytoken(e) {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
export async function bindStoken(e) {
|
export async function bindStoken(e) {
|
||||||
|
if (!e.isPrivate) {
|
||||||
|
e.reply("请私聊发送")
|
||||||
|
return true;
|
||||||
|
}
|
||||||
let msg = e.msg;
|
let msg = e.msg;
|
||||||
let user = new User(e);
|
let user = new User(e);
|
||||||
let miHoYoApi = new MihoYoApi(e);
|
let miHoYoApi = new MihoYoApi(e);
|
||||||
|
Loading…
Reference in New Issue
Block a user