Skip to content

Commit

Permalink
普通随机图也可撤回
Browse files Browse the repository at this point in the history
  • Loading branch information
fumiama committed Jun 17, 2021
1 parent d3b1bcb commit 164f441
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion randimg/setu_geter.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@ func init() { // 插件主体
ctx.Send("请稍后再试哦")
} else {
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
}
}
Expand Down

0 comments on commit 164f441

Please sign in to comment.