mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-09 06:33:05 -04:00
fix text too long
This commit is contained in:
parent
77ca289d1e
commit
b06b0fea03
1 changed files with 1 additions and 1 deletions
|
@ -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}`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue