This is a simple Node.js starboard bot for Discord. Full instructions included for those not familiar with the process.
sudo apt-get install npm -y && sudo apt-get install git -y
(prepare environment)git clone git://github.com/the-jame/discord-starboard.git && cd discord-starboard
(download code)npm install
(install dependencies)cp sample-settings.json settings.json && nano settings.json
(create settings. ctrl + x to close, y to confirm, enter)node app.js
(run program)- pm2 is recommended to keep the bot running
Option | Type | Description |
---|---|---|
token | String | Your discord bot token |
serverID | String | Your server ID |
channelID | String | Your starboard channel ID |
reactionEmoji | Emoji | The emoji which will be tallied for the starboard |
threshold | Integer | The number of stars before the message is pinned |
hexcolor | Hex | The color of the embed for the pinned message |
dateCutoff | Integer | The maximum age of messages eligible to be starred |
fetchLimit | Integer | Number of previously pinned messages to load to avoid duplicates |
User Settings -> Advanced -> Developer Mode
Server ID (right click server name):
Channel ID (right click channel name):