matrix-appservice-discord
matrix-appservice-discord copied to clipboard
Split up long messages (>2000 characters) to circumvent discords character limit.
Long messages (exceeding discords character limit) are currently dropped completely and therefore never make it to discord in one form or another.
Might be a good idea to either split these into chunks and send them over or to provide a permalink to the matrix-message. (that's the way the irc-appservice currently handles overly long messages)
Given the size limit being as large as it is, I'd just split them into separate messages. We can easily batch messages together.
late annotation:
you might also want to preemptively think of an elegant way of handling replies to very long messages
Ugh, yeah that too.
Seems like this is still problematic.
It'd be helpful if the Discord bot told you that sending a message failed. Right now, it's just a log entry like "[DiscordBot] warn: Failed to send message ..." with no indication in your Matrix client.
I didn't know my message was not being delivered until someone explicitly asked me "why didn't you send what you promised you would". Well, because I sent too long of a message and the bridge silently failed me ;)
Yeah this is still a pretty major issue.
<username>
sent a large message. Original message body included in the attachment.