mautrix / discord

A Matrix-Discord puppeting bridge
https://go.mau.fi/mautrix-discord
GNU Affero General Public License v3.0
240 stars 22 forks source link

"Message too long" error #140

Closed valankar closed 3 months ago

valankar commented 3 months ago

I noticed the following error trying to bridge some long text:

https://github.com/mautrix/discord/blob/8d01c30014978e2360d5cb102e96542ecb2402b6/portal.go#L1282

Is there perhaps some other way to handle this? i.e. maybe trimming to the allowed length. Thanks.

tulir commented 3 months ago

Don't send too long messages

valankar commented 3 months ago

Seems there is another bug about it:

https://github.com/mautrix/discord/issues/74