mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 14:13:02 -04:00
clear timer if it errors
This commit is contained in:
parent
10c15fb179
commit
50c28be4f3
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@ module.exports = {
|
|||
] })
|
||||
}catch(e){
|
||||
console.log(e)
|
||||
clearTimeout(noticeTimer)
|
||||
await response.edit({embeds:[createEmbed("error", context, `Image generation failed.`)]})
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue