Giter VIP home page Giter VIP logo

discord-auto-publisher's Introduction

Auto Publisher

Discord Auto Publisher

Automatically publish messages or news in your announcement channels!

A lightweight command-less bot that will automatically publish every new message in your announcement/news channels to other servers who follow it. An excellent solution for servers who rely on bots (such as RSS feeds) or webhooks to publish their news, allowing your moderators to get some rest from manual publishing. Unlike most other bots who can publish messages, this bot utilizes advanced URL detection algorithm that will ensure all your messages containing URLs will be published properly with no embeds missing!

The bot features no commands because the setup is really easy!

How to set up?

  1. Invite the bot to your server: https://invite.auto-publisher.gg/
  2. Navigate to your announcement channel's settings and give the bot following permissions: View Channel, Send Messages, Manage Messages, Read Message History
  3. Repeat step 2. for every channel where you want auto-publishing
  4. Done!

Keep in mind...

  • The bot can only publish 10 messages per hour per channel (just as users), this is rate limited by Discord!
  • If you want to temporarily stop the bot from publishing messages in any of your announcement channels, just disable its' View Channel permission in a desired channel and enable it back when you're ready.
  • IMPORTANT: If one of your announcement channels is very spammy, your server will get blacklisted from using the bot! Please be sensible when using the bot and don't make your moderation log channels or general chat into an announcement channel. If your chanel has a high message flow, it shouldn't be an announcement channel.

Need help? Join our Discord support server!

https://discord.gg/xcEeJkdQX8


Did the bot help you or do you simply want to support my work? ❤️

ko-fi

Self-hosting

The bot's code provided here is primarily for transparency reasons and to help other developers implement the same functionality to their bots.

Given the bot's simple nature, using the publicly-hosted version will be enough for most people, so it is highly recommended to use that version, unless you have a specific reason not to do so (such as experimenting with the code).

You're free to host this bot on your own machine, but please keep in mind I will not be providing any support in that regard (do it on your own risk). If you're directly hosting this bot, you should not monetize it in any way; the bot's goal is to help everyone and be free of any charge.

Requirements:

  • Node ^18.12.0
  • Yarn ^3.0.0
  • Redis server ^7.0.0
  • MongoDB server ^6.0.0

discord-auto-publisher's People

Contributors

dependabot[bot] avatar vedinsoh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

discord-auto-publisher's Issues

Queuing system

Would be awesome if the bot could just queue announcements over the rate limit & send out as the rate limit allows.
Sometimes, in the heat of the battle 10 edits to an announcement can happen, and it'd be cool if anything above that doesn't get lost, but just sent out delayed.

Regarding this:
grafik
How about doing internal ratelimiting management?
I suppose the reason for this is that you don't want to get blacklisted by discord for hitting the limits too often, therefore it might make more sense to just have the ratelimiting be done internally - and then periodically automatically test if discord has increased the ratelimits.

[Suggestion] Add a Filter Option

Add a filter option where the user can filter out messages to be automatically published using keywords (and maybe regex if possible?) for a more customizable approach.

Bot doesn't publish every sixth message

Bot will publish five messages fine, then skip the sixth. The cycle then repeats.

Using this with a webhook bot that posts twice an hour (every thirty minutes). So it misses a message once every three hours.

Only webhook / user filter option? (Suggestion)

I'm making this Suggestion because we got a server with a git webhook posting when we push things and sometimes do we also make small comments in that channel that we don't want to get published to other servers.

this option could maybe work as a blacklist / whitelist option with commands, like ?blacklist <UserID / WebhookID> or ?whitelist <UserID / WebhookID>

tho one thing that would be nice if it could be done for that specific channel, so we still can post updates in another channel without it being filtered off

The bot doesn't publish anything

Hi,

I invited your bot to my server where I have one annoucement channel but the bot doesn't do anything when there is a new message in it.
I only gave him the "Manage Messages" permission on this specific channel, I don't know if that can affect his behavior?

Only publish specific channels

Suggestion: allow a way to whitelist/blacklist channels so they aren't automatically published (maybe a certain flag in the topic?)

Embed

Does this bot announce in embedded message?

how to install at own server (bot discord)

Hi, can make tutorial how to publish to use own this bot

i want to host this bot own my server vps. for my channel discord.

any tutorial how to make this live ?

cause i was try add this bot to my channel not appear at my channel discord. hope can help for this.

thanks

Bot doesn't crosspost all messages.

I have a discord server with 20 announcements channels. I post there game updates by sending webhooks from my VPS server. 1 channel is updated once an hour, 14 channels is updated once a day, and last 5 once a week or once a month.
I use Auto Publisher bot for this for around a year and it is first time i have any issues. Since 3 days bot randomly crosspost some messages and some not. Bot has granted all required permissions (Read Messages, Send Messages, Manage Messages, Read Message History) on AutoPublisher role, and also on every announcement channel.
I am sure i have not exceeded any limit (i know Discord limit is 10 (messages/hour)/channel) when i post max 1 message per hour on only one channel.

Discord server ID: 755631770480803931

A question

I have a question, but if you feel to not share it, you can close this issue
Where did you host your bot, in Heroku or somewhere else?
And are you using a free plan on that platform?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.