raku-api-discord icon indicating copy to clipboard operation
raku-api-discord copied to clipboard

Add Promise to Message so authors can verify messages arrived.

Open Altreus opened this issue 4 years ago • 1 comments

We don't want to supply the bot's own messages to the message supply because ignoring your own messages is tedious boilerplate. So we can add a Promise to the created Message and keep it when the API sees the message come back.

We would need to know how Discord munge messages so we can recognise that it was the "same" one. Maybe we're given a message ID on POST?

Altreus avatar Jul 19 '21 12:07 Altreus

Also events!

Altreus avatar Jul 19 '21 12:07 Altreus