mirror of
https://github.com/JonasunderscoreJones/PinBoardBot.git
synced 2025-10-22 17:59:17 +02:00
A discord bot that sends messages that you want to pin in a dedicated channel to avoid the pinned-messages limit per text-channel
src | ||
.gitignore | ||
package-lock.json | ||
package.json | ||
README.md |
PinBoardBot
A discord bot that aims to replace the discord built-in pin function as it is limited to 50 pins per channel.
Known issue: attachments such as pictures that were originally uploaded by the user cannot be pinned. I'm working on a fix
Setup
- clone the repository:
git clone https://github.com/J-onasJones/PinBoardBot.git
- cd into the repository folder
cd PinBoardBot
- go to the discord developer portal and create a new application and bot.
- paste the bot token and channel id for your "pins" text channel in the
config.json
file. - 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_IDscope=bot
- install the required node modules with the following command:
npm install discord.js@13.1.0 dotenv
- run the following command to start the bot (npm must be installed)
npm start