mirror of
https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git
synced 2024-12-23 03:20:52 +08:00
修正戳一戳任意人会触发#绑定cookie bug
This commit is contained in:
parent
35c4b6eb1a
commit
8263b87a30
@ -22,7 +22,8 @@ export class atlas extends plugin {
|
||||
})
|
||||
}
|
||||
accept () {
|
||||
if(this.event==='notice.*.poke'){
|
||||
if(this.event==='notice.*.poke'&&this.e.target_id === Bot.uin){
|
||||
this.e.user_id=this.e.operator_id;
|
||||
this.e.msg = '#poke#'
|
||||
}
|
||||
this.e.original_msg = this.e.original_msg || this.e.msg
|
||||
|
Loading…
Reference in New Issue
Block a user