mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-07 13:43:06 -04:00
update statics
This commit is contained in:
parent
148f63cdd2
commit
35d5d9a6a8
3 changed files with 7 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
|||
const { PERMISSION_GROUPS } = require("#constants");
|
||||
const { PERMISSION_GROUPS, SCREENSHOT_ASSET_REVISION } = require("#constants");
|
||||
const { WebUtilsWebPageScreenshot} = require("#obelisk");
|
||||
|
||||
const { createEmbed } = require("#utils/embed");
|
||||
|
@ -45,7 +45,7 @@ module.exports = {
|
|||
|
||||
if (ss.response.body.error) return await editOrReply(context,
|
||||
createEmbed("image", context, {
|
||||
url: ss.response.body.error.image_url,
|
||||
url: ss.response.body.error.image_url + "?r=" + SCREENSHOT_ASSET_REVISION,
|
||||
time: ((Date.now() - t) / 1000).toFixed(2)
|
||||
})
|
||||
)
|
||||
|
@ -61,7 +61,7 @@ module.exports = {
|
|||
} catch (e) {
|
||||
console.log(e)
|
||||
return editOrReply(context, createEmbed("image", context, {
|
||||
url: "https://bignutty.gitlab.io/webstorage4/v2/assets/screenshot/brand-update-2024/scr_unavailable.png"
|
||||
url: "https://bignutty.gitlab.io/webstorage4/v2/assets/screenshot/brand-update-2024/scr_unavailable.png?r=" + SCREENSHOT_ASSET_REVISION
|
||||
}))
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
const { PERMISSION_GROUPS } = require("#constants");
|
||||
const { PERMISSION_GROUPS, SCREENSHOT_ASSET_REVISION } = require("#constants");
|
||||
const { WebUtilsWebPageScreenshot} = require("#obelisk");
|
||||
|
||||
const { createEmbed } = require("#utils/embed");
|
||||
|
@ -46,7 +46,7 @@ module.exports = {
|
|||
|
||||
if (ss.response.body.error) return await editOrReply(context,
|
||||
createEmbed("image", context, {
|
||||
url: ss.response.body.error.image_url,
|
||||
url: ss.response.body.error.image_url + "?r=" + SCREENSHOT_ASSET_REVISION,
|
||||
time: ((Date.now() - t) / 1000).toFixed(2)
|
||||
})
|
||||
)
|
||||
|
@ -61,7 +61,7 @@ module.exports = {
|
|||
} catch (e) {
|
||||
console.log(e)
|
||||
return await editOrReply(context, createEmbed("image", context, {
|
||||
url: "https://bignutty.gitlab.io/webstorage4/v2/assets/screenshot/brand-update-2024/scr_unavailable.png"
|
||||
url: "https://bignutty.gitlab.io/webstorage4/v2/assets/screenshot/brand-update-2024/scr_unavailable.png?r=" + SCREENSHOT_ASSET_REVISION
|
||||
}))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue