diff --git a/commands/message/fun/bard.js b/commands/message/fun/bard.js index be163c6..f07be7d 100644 --- a/commands/message/fun/bard.js +++ b/commands/message/fun/bard.js @@ -78,6 +78,7 @@ module.exports = { }) }catch(e){ if(e.response.body?.message) return editOrReply(context, {embeds:[createEmbed("warning", context, e.response.body.message)]}) + console.log(e) return editOrReply(context, {embeds:[createEmbed("error", context, `Unable to generate text.`)]}) } diff --git a/commands/message/fun/palm.js b/commands/message/fun/palm.js index 0ce6100..b07fb7b 100644 --- a/commands/message/fun/palm.js +++ b/commands/message/fun/palm.js @@ -14,8 +14,8 @@ module.exports = { label: 'text', aliases: ['palm2'], metadata: { - description: `${iconPill("generative_ai", "LIMITED TESTING")}\n\nTalk to Bard.`, - description_short: 'Chat with Palm2.', + description: `${iconPill("generative_ai", "LIMITED TESTING")}\n\nTalk to PaLM 2.`, + description_short: 'Chat with PaLM 2.', examples: ['bard How many otter species are there?'], category: 'limited', usage: 'palm [-prompt ]' @@ -73,7 +73,7 @@ module.exports = { let description = [] let files = []; - if(!res.body.output) return editOrReply(context, {embeds:[createEmbed("error", context, `Bard returned an error. Try again later.`)]}) + if(!res.body.output) return editOrReply(context, {embeds:[createEmbed("error", context, `PaLM 2 returned an error. Try again later.`)]}) if(res.body.output.length <= 4000) description.push(res.body.output) else { @@ -91,7 +91,7 @@ module.exports = { }, description: description.join('\n'), footer: { - text: `Palm2 • This information may be inaccurate or biased` + text: `PaLM 2 • This information may be inaccurate or biased` } })], files