remove pointless error logs

This commit is contained in:
big nutty 2024-06-04 11:22:18 +00:00
parent 08109bd37b
commit 33d518b262
8 changed files with 4 additions and 10 deletions

View file

@ -64,8 +64,8 @@ module.exports = {
}
}))
}catch(e){
console.log(e)
if(e.response?.body?.status && e.response.body.status == 2) return editOrReply(context, createEmbed("error", context, `Unable to translate text.`))
console.log(e)
return editOrReply(context, createEmbed("error", context, `Something went wrong.`))
}
}