mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-07 13:43:06 -04:00
fix makesweet
This commit is contained in:
parent
128369350f
commit
62376669c8
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ async function fetchImage(url) {
|
|||
}
|
||||
|
||||
async function processMakesweet(effect, args, image) {
|
||||
if(!effects[effect.toLowerCase()]) throw "Invalid Effect"
|
||||
if(!effects.includes(effect.toLowerCase())) throw "Invalid Effect";
|
||||
try{
|
||||
if(image){
|
||||
image = await fetchImage(image)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue