From b06b0fea037bbec2c36134aa1fb5477b0cc6d177 Mon Sep 17 00:00:00 2001 From: derpystuff <3515180-derpystuff@users.noreply.gitlab.com> Date: Tue, 8 Aug 2023 23:07:32 +0200 Subject: [PATCH] fix text too long --- commands/message/fun/chat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/message/fun/chat.js b/commands/message/fun/chat.js index 516d5c2..e3e6dbc 100644 --- a/commands/message/fun/chat.js +++ b/commands/message/fun/chat.js @@ -31,7 +31,7 @@ module.exports = { input: [args.text] }) return editOrReply(context, {embeds:[createEmbed("default", context, { - description: codeblock("ansi", ["šŸ‘¤ " + format(args.text, "cyan") + "\nšŸ¤– " + res.body.output]), + description: codeblock("ansi", ["šŸ‘¤ " + format(args.text, "cyan") + "\nšŸ¤– " + res.body.output.substr(0, 2000 - args.text.length)]), footer: { text: `This information may be inaccurate or biased • ${context.application.name}` }