Describe the bug
A clear and concise description of what the bug is.
If you attempt the figlet command that makes dbot try to send more than 2000 characters it gets denied by discord.
To Reproduce
Steps to reproduce the behavior:
In discord: dbot.figlet -w 1 Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagnExpected behavior
A clear and concise description of what you expected to happen.
dbot should instead send a message informing the person who invoked the command that:
it's too many characters
AND / OR
dbot should simply cut off the string at 2000 characters.
Additional context
Add any other context about the problem here.
The traceback from the error:
Traceback (most recent call last):
File "/home/dalton/.local/lib/python3.8/site-packages/discord/ext/commands/bot.py", line 892, in invoke
await ctx.command.invoke(ctx)
File "/home/dalton/.local/lib/python3.8/site-packages/discord/ext/commands/core.py", line 797, in invoke
await injected(*ctx.args, **ctx.kwargs)
File "/home/dalton/.local/lib/python3.8/site-packages/discord/ext/commands/core.py", line 92, in wrapped
raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: HTTPException: 400 Bad Request (error code: 50035): Invalid Form Body
In content: Must be 2000 or fewer in length.
Describe the bug A clear and concise description of what the bug is. If you attempt the figlet command that makes dbot try to send more than 2000 characters it gets denied by discord. To Reproduce Steps to reproduce the behavior: In discord:
dbot.figlet -w 1 Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn
Expected behavior A clear and concise description of what you expected to happen.dbot should instead send a message informing the person who invoked the command that:
AND / OR
dbot should simply cut off the string at 2000 characters.
Additional context Add any other context about the problem here.
The traceback from the error: