mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-09 22:53:06 -04:00
make error message use the system
This commit is contained in:
parent
dc0acef0cd
commit
aab815e0a2
1 changed files with 6 additions and 1 deletions
|
@ -55,7 +55,12 @@ module.exports = {
|
|||
})
|
||||
} catch(e){
|
||||
console.log(e)
|
||||
return await response.edit({ embeds: [createEmbed("error", context, `Unable to create screenshot.`) ] })
|
||||
return await response.edit({
|
||||
embeds: [createEmbed("image", context, {
|
||||
url: "https://derpystuff.gitlab.io/webstorage4/v2/assets/screenshot/screenshot_error.png",
|
||||
time: ((Date.now() - t) / 1000).toFixed(2)
|
||||
})]
|
||||
})
|
||||
}
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue