Automatic news channel publish
EDIT 4.8.2020: I made a bot that does it automatically: https://github.com/Forcellrus/Discord-Auto-Publisher/blob/master/README.md
With the new news/announcements channel feature for verified servers, we can let users "Follow" our channels and get our news directly on their servers. However, we're using an RSS bot to publish news in such channels and every post made in it requires manual publishing of the news. It would be really nice if we had an option that would automatically publish whatever is posted in that channel, without having to sit all day and wait for something to get posted so we can press that Publish button.
-
For Verified discord servers - we have bots set up to publish updates for influencer streams, news articles, etc.
Having to click "publish" on each post effectively defeats the purpose of the bots, as publishing the announcements requires someone to pay attention to the channel at all times.
Announcement channels are an exciting feature, however the utility of this feature has diminishing returns as your server community grows and your publication schedule varies.
Perhaps auto-publishing can be accomplished via a bot designed for this purpose?11 -
Indeed this is quite annoying. I have an automated bot "event feeder" and for other people to use it they need to Authorize the bot on their server and give proper permissions and then register on the bot to which channel to post "news".
I payed the developer fee thinking that using an announcement channel would allow me to forego all this setup, and thus just have the other server owner just login and Follow the channel, which indeed works, however I have to authorize all the events manually which defeats the entire purpose of my simplification process.For me, a simple solution would be simply to add "webhook permissions", where some webhooks would be simply auto-published.
Alternatively I could do with simple API documentation of the Publish button (which I gather some clever developers already figured out, really, though if security is considered it should currently be blocked from Bot accounts...)
5 -
I've looked into Discord API for that matter, but there is no reference to that functionality.
3 -
Shout out to SUPERCHIEFYT!
After seeing there is no bot that does this (as it's was only recently added to the API), I've decided to make one that will automatically publish messages in your announcement channels. I initially created it for our server, but since the announcement channels are becoming available to everyone, I thought I'd make the bot public for everyone to benefit from it.
More details + source code:
https://github.com/Forcellrus/Discord-Auto-Publisher/blob/master/README.md
3 -
They've added the endpoint and allowed bots to use it aswell, but they still need to document it.
Method: POST
URL: https://discord.com/api/v6/channels/CHANNEL_ID/messages/MESSAGE_ID/crosspost
Authorization: Bot YOUR_BOTS_TOKEN1 -
Vedinsoh, you are clearly saving my ass with that bot! Thank you very much for your work!
1 -
Awesome stuff, looking forward to the documentation!
0 -
Hey @Forcellrus So the bot you made is OP but well it isnt very customizable
Mind hitting me up on Discord so i can give some suggestions or you can gimme your tag i will DM you?
LEGENDARY KING#6699
Me ^
If you dont want i can make a bot myself for the same lemme know0 -
Sure thing, added you.
0 -
Bumping this. I haven't looked at the bot to see if it still functions but this should be available natively.
0
Please sign in to leave a comment.
Comments
10 comments