mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 16:19:18 +00:00
🦄 refactor: 更新撤回问题
This commit is contained in:
parent
823669e7d1
commit
20be1a51ab
@ -243,7 +243,7 @@ export class mystery extends plugin {
|
|||||||
await mongo.then(conn => {
|
await mongo.then(conn => {
|
||||||
return conn.aggregate([{ $sample: { size: MAX_SIZE } }]).toArray()
|
return conn.aggregate([{ $sample: { size: MAX_SIZE } }]).toArray()
|
||||||
}).then((result) => {
|
}).then((result) => {
|
||||||
result.forEach(async (item) => {
|
result.forEach((item) => {
|
||||||
images.push({
|
images.push({
|
||||||
message: segment.image(item.url), ...template
|
message: segment.image(item.url), ...template
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user