diff --git a/commands/message/fun/chat.js b/commands/message/fun/chat.js index 0a8d296..c18d0d2 100644 --- a/commands/message/fun/chat.js +++ b/commands/message/fun/chat.js @@ -48,6 +48,8 @@ module.exports = { let description = [smallIconPill("generative_ai", args.text), ''] let files = []; + if(!res.body.output) res.body.output = '[Empty Response]' + if(res.body.output.length <= 2000) description.push(res.body.output.substr(0, 2000 - args.text.length)) else { files.push({