Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Promise to Message so authors can verify messages arrived. #57

Open
Altreus opened this issue Jul 19, 2021 · 1 comment
Open

Add Promise to Message so authors can verify messages arrived. #57

Altreus opened this issue Jul 19, 2021 · 1 comment

Comments

@Altreus
Copy link
Member

Altreus commented Jul 19, 2021

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant