Discordia
Discordia copied to clipboard
feat: Add crosspost and news channel supports
Adds the ability to follow Announcement/News channels, as well as the ability to crosspost messages. This should be forward compatible with the dev branch.
New Methods
-
Message:crosspost()
- cross-posts the message publishing it into following channels -
GuildTextChannel:follow(targetId)
- start following the news channel and publishing announcements intotargetId
.
Note: to access the original message of a cross-posted message referencedMessage
can be used. Currently the docs for it are wrong, referencedMessage
is more than just replies.