GithubHelp home page GithubHelp logo

cyberflamego / discord-auto-publisher Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vedinsoh/discord-auto-publisher

0.0 2.0 0.0 395 KB

Automatically publish messages or news in your announcement channels!

License: GNU General Public License v3.0

Shell 0.05% TypeScript 99.95%

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://discord.com/api/oauth2/authorize?client_id=739823232651100180&permissions=10240&scope=bot
  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? Message me on Discord:

Forcellrus#5555


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

Buy Me A Coffee

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 >=16.6
  • Yarn >=1.0.0

discord-auto-publisher's People

Contributors

dependabot[bot] avatar vedinsoh avatar

Watchers

 avatar  avatar

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.