Skip to content

Discord.js bot that pins messages into a given channel, using a given reaction

License

Notifications You must be signed in to change notification settings

RoyCurtis/Pinhead

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Installation

  1. git clone https://github.com/RoyCurtis/Pinhead.git pinhead && cd pinhead
  2. npm install - Installs dependencies
  3. Copy config.yml.example to config.yml and fill in the required values
  4. node index.js - Runs the bot
  5. Setup a specific role (e.g. pinner) to allow users to pin messages
    • This is optional; leave role blank to allow anybody to pin
  6. Setup a custom emoji, or specify a built-in emoji, to use as the pin trigger reaction
  7. Setup the target channel as a text channel (e.g. #memes)

Usage

  1. User sees amusing message and reacts to it using the configured superpin emoji
  2. Bot goes ahead and copies the message to the configured channel

Limitations

  • 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

About

Discord.js bot that pins messages into a given channel, using a given reaction

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published