modmailbot icon indicating copy to clipboard operation
modmailbot copied to clipboard

Content must be 2000 or fewer in length (Bug)

Open Hector1801 opened this issue 3 years ago • 2 comments

If you request the bot to send a preview of a snippet that contains more than 2000 characters (or even the !snippets command if it has more than 2000 characters) outside a ticket, the bot will crash and it'll display this in the console? https://cdn.discordapp.com/attachments/621406922175676417/858883116790054912/unknown.png

It should not be a problem as Discord increased the limit to 4000 characters recently, and, in any case, it should split the message into more parts, just as it does when you run those commands inside a ticket (because yes, inside tickets it's someway fixed and works as intended).

Hector1801 avatar Jun 28 '21 14:06 Hector1801

Bots can’t use the 4000 character limit right now, they’re still limited to 2000 characters

SuperSajuuk avatar Jun 28 '21 22:06 SuperSajuuk

Oh, I see. Anyway it's still a bug. The bot should still split the message into more parts, just as it does inside tickets.

Hector1801 avatar Jun 28 '21 23:06 Hector1801

is there any way for workaround ? Is there a way to get more than 2000 ?

melihteke avatar May 28 '23 20:05 melihteke

You could probably make a new issue requesting that the bot automatically splits content longer than the 2000-character limit into multiple messages.

mesub7 avatar May 28 '23 20:05 mesub7