mayudev / revcord

A bridge for Discord and Revolt with easy setup through commands
MIT License
64 stars 9 forks source link

Is Revcord supposed to transfer webhooks? #30

Closed Alfredolin closed 11 months ago

Alfredolin commented 11 months ago

Hi, I was reading a bit the doc of discord.js, and I am not sure wether webhook messages are considered as normal messages or not. Anyway it is not clear to me: is Revcord supposed to transfer webhooks messages from Discord to Revolt or not? My Revcord is currently not doing it. And at a first quick look at discord.ts (I am new to js), I don't see why not.

mayudev commented 11 months ago

Revcord can proxy webhook messages if you have bot messages forwarding enabled (here)

Alfredolin commented 11 months ago

Hi, indeed the webhook message transfer works. I found the problem: Revolt messages are limited to 2000 characters whereas Discord messages can be much bigger with embeds, in which case the message is then not transferred. That was my problem.

Alfredolin commented 11 months ago

Revcord does tranfer webhooks. However messages with more than 2000 characters will not be teansfered as it is limited by Revolt.