A discord bot that sends messages that you want to pin in a dedicated channel to avoid the pinned-messages limit per text-channel
Find a file
Jonas_Jones 6f24f9be97 Fixed issue with duplicate pin message
and removed debug code that was accidentally left in
2022-09-03 13:35:08 +02:00
src Fixed issue with duplicate pin message 2022-09-03 13:35:08 +02:00
.gitignore version 0.1.0 2022-09-01 02:37:20 +02:00
package-lock.json version 0.1.0 2022-09-01 02:37:20 +02:00
package.json version 0.1.0 2022-09-01 02:37:20 +02:00
README.md Merge branch 'main' of https://github.com/J-onasJones/PinBoardBot 2022-09-01 03:40:40 +02:00

PinBoardBot

A discord bot that aims to replace the discord built-in pin function as it is limited to 50 pins per channel.

image

Known issue: attachments such as pictures that were originally uploaded by the user cannot be pinned. I'm working on a fix

Setup

  1. clone the repository:
git clone https://github.com/J-onasJones/PinBoardBot.git
  1. cd into the repository folder
cd PinBoardBot
  1. go to the discord developer portal and create a new application and bot.
  2. paste the bot token and channel id for your "pins" text channel in the config.json file.
  3. Invite your newly created bot onto the server with the following link (replace CLIENT_ID with the client ID of your application):
https://discord.com/oauth2/authorize?client_id=CLIENT_ID&scope=bot
  1. install the required node modules with the following command:
npm install discord.js@13.1.0 dotenv
  1. run the following command to start the bot (npm must be installed)
npm start