mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-09 14:43:05 -04:00
woops lmao
This commit is contained in:
parent
69051044fa
commit
596e9827cf
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ module.exports = {
|
||||||
|
|
||||||
if(res.response.body.message) return editOrReply(context, createEmbed("error", context, e.response.body.message))
|
if(res.response.body.message) return editOrReply(context, createEmbed("error", context, e.response.body.message))
|
||||||
|
|
||||||
let output = res.response.body.gemini?.candidates[0]?.content?.parts[0]?.text
|
let output = res.response.body.candidates[0]?.output
|
||||||
if(!output) return editOrReply(context, createEmbed("error", context, `Gemini returned an error. Try again later.`))
|
if(!output) return editOrReply(context, createEmbed("error", context, `Gemini returned an error. Try again later.`))
|
||||||
|
|
||||||
if(output.length <= 4000) description.push(output)
|
if(output.length <= 4000) description.push(output)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue