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
feat(Message): add support for crossposting #4105
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Slight typo in the example.
Co-authored-by: Advaith <advaithj1@gmail.com>
Co-authored-by: Joe <56809242+Jo3-L@users.noreply.github.com>
Just before this gets merged, there's another endpoint to be added, see here |
When will it be merged ? |
when ever discord decides to document it (see the linked pull request on discord docs), as that signals "this is now completely implemented and (hopefully) won't change heavily going forward" |
Also when I decide to spend some time implementing the method to follow an announcements channel unless someone wants to PR that to my branch themselves |
You could just fully read the message you liked from @almostSouji |
Eventually yes, I’m burnt out from discord development again so it might be a while until I personally add it to this PR. Like I said earlier, you can wait for me to add it, or add it to my fork/branch via another PR which will show up here as well or add it yourself in a seperate PR |
docs pr merged 🎉 |
Co-authored-by: Jan <66554238+Vaporox@users.noreply.github.com>
since the post request returns the data of the message after being crossposted, shouldn't you update the message data? or will discord send a message update event after crossposting? |
There are no |
The message flags update to reflect that the message was crossposted; I believe that also fires a messageUpdate. |
Okay nvm i've checked, a messageUpdate event is fired |
Please describe the changes this PR makes and why it should be merged:
This PR adds supports for bots to crosspost messages in News Channels.
This resolves #4089 however is currently undocumented as per discord/discord-api-docs#1510
Status
Semantic versioning classification: