Pinhead is a simple Discord bot that pins messages to a specific channel. This is a workaround for Discord's per-channel 50 pin limit.
git clone https://github.com/RoyCurtis/Pinhead.git pinhead && cd pinhead
npm install
- Installs dependencies- Copy
config.yml.example
toconfig.yml
and fill in the required values node index.js
- Runs the bot- Setup a specific role (e.g.
pinner
) to allow users to pin messages- This is optional; leave
role
blank to allow anybody to pin
- This is optional; leave
- Setup a custom emoji, or specify a built-in emoji, to use as the pin trigger reaction
- Setup the target channel as a text channel (e.g.
#memes
)
- User sees amusing message and reacts to it using the configured superpin emoji
- Bot goes ahead and copies the message to the configured channel
- The bot will not unpin messages; that is up to anybody with message management perms
- Due to issues with Discord.js, only the previous 100 messages + any the bot has seen since running, are pinnable