mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-29 02:27:26 +00:00
为 #原图 功能增加30s后自动撤回 (#412)
This commit is contained in:
parent
ee530c0725
commit
b3097ad58f
@ -24,7 +24,7 @@ export async function getOriginalPicture (e) {
|
||||
if (source) {
|
||||
let imgPath = await redis.get(`miao:original-picture:${source.message_id}`)
|
||||
if (imgPath) {
|
||||
e.reply([segment.image(process.cwd() + '/plugins/miao-plugin/resources/' + decodeURIComponent(imgPath))])
|
||||
e.reply([segment.image(process.cwd() + '/plugins/miao-plugin/resources/' + decodeURIComponent(imgPath))], false, { recallMsg: 30 })
|
||||
return true
|
||||
}
|
||||
if (source.time) {
|
||||
|
Loading…
Reference in New Issue
Block a user