TheDiscordian / onebot

One bot to rule them all...
BSD 3-Clause "New" or "Revised" License
14 stars 1 forks source link

Detect messages > max length, handle appropriately #42

Open TheDiscordian opened 1 year ago

TheDiscordian commented 1 year ago

Right now if the bot attempts to send a message of over max length, that fails and is logged to the terminal. We could output an error in chat, or break the message up into multiple messages. Leaning on error in chat, could possibly have an option in config to set behaviour as desired.

TheDiscordian commented 1 year ago

I believe Discord's max length is 2000 characters