mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-19 22:00:11 +08:00
普通随机图也可撤回
This commit is contained in:
parent
d3b1bcb3d5
commit
164f441b29
@ -112,7 +112,9 @@ func init() { // 插件主体
|
|||||||
ctx.Send("请稍后再试哦")
|
ctx.Send("请稍后再试哦")
|
||||||
} else {
|
} else {
|
||||||
BLOCK_REQUEST = true
|
BLOCK_REQUEST = true
|
||||||
ctx.Send(msgext.ImageNoCache(RANDOM_API_URL))
|
last_message_id := ctx.Send(msgext.ImageNoCache(RANDOM_API_URL))
|
||||||
|
last_group_id := ctx.Event.GroupID
|
||||||
|
msgofgrp[last_group_id] = last_message_id
|
||||||
BLOCK_REQUEST = false
|
BLOCK_REQUEST = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user