Giter VIP home page Giter VIP logo

pin-bot's Introduction

Pin Bot

A Discord bot for getting around the 50 pinned message limit. It sends pinned messages from a channel to a dedicated pin channel.

Pinned message

Setup

  1. Install Java 17 or higher.
  2. Create a Discord bot and get its token. Give the bot the following permissions:

Bot permissions

  1. Create a file called config.json in the same directory as the bot's JAR file with the following content, replacing 123456789 with your bot's token:
{
	"token": "123456789"
}
  1. Run the bot's JAR file by running java -jar pin-bot-VERSION.jar in the command line, replacing VERSION with the version of the bot.

Usage

  1. Run the /pin-channel set command to set the channel where pinned messages from the current channel are sent to (requires the Manage Channels and Manage Messages permissions).
  2. Make sure the channel where pinned messages are being sent from has a free pin slot, i.e. there are at most 49 pinned messages in it.
  3. To send a message to the pin channel, pin it as you normally would. The bot will automatically unpin it and send it to the pin channel.

pin-bot's People

Contributors

imgbotapp avatar shaksternano avatar

Watchers

 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.