Xenon-Bot / discord.club

Homepage for discord.club
https://discord.club
GNU General Public License v3.0
23 stars 14 forks source link

Edit messages with embeds sent by the web interface #10

Closed MicaelJarniac closed 3 years ago

MicaelJarniac commented 5 years ago

After sending a message with embed content, I often find myself wanting to edit its contents, but am forced to recreate it on the web interface, then resend it and delete the old one. This brings up a few issues, like:

I know it's possible for the embedded content in a message to be edited, as bots like Reaction Role have this option. But as the web interface for Embed Generator uses webhooks to send the message, I'm not sure if that's feasible. It may still be, if the webhook allows to read and/or edit messages.

I've imagined the following solutions (they may not be technically possible, though):

If wanted, I could help in the development of this feature by giving ideas and feedback as it's being developed.

cblastin commented 5 years ago

You can’t edit webhooks which is how the messages are sent. Discord won’t allow it or this would be a good idea.

MicaelJarniac commented 5 years ago

So maybe allowing the web interface to also send messages through the Embed Generator bot, which would then be able to be edited, but would not be able to have a custom username and picture. Those would be the pros and cons, but I'd highly favor over it because of the editing possibility. And this would also give some function to the bot.

On Fri, Mar 29, 2019, 12:02 AM Aly notifications@github.com wrote:

You can’t edit webhooks which is how the messages are sent. Discord won’t allow it or this would be a good idea.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Magic-Bots/discord.club/issues/10#issuecomment-477848613, or mute the thread https://github.com/notifications/unsubscribe-auth/ASnDd49PPL91LcYSDnCgSyNZIL7yOFi2ks5vbYJBgaJpZM4cRhpb .

merlinfuchs commented 5 years ago

Nothing I will implement in the near future because it would mean connecting the bot directly to the website. That's not easy without risking the stability of the website.

merlinfuchs commented 3 years ago

Implemented in rewrite