/2hex-starboard

A discord bot that runs a starboard

Primary LanguageJavaScript

2hex-starboard

A discord bot that runs a starboard for users

Requirements

npm 6.0.0 or later is required Node installed with npm. I use v10.16.3 for node and 6.9.0 for npm, but earlier versions should work

Installation

Clone the github repository, and install dependencies as follows:

npm install quick.db
npm install discord.js



Note that with discord.js it is required to have python 2.x (preferably 2.6) and if on windows, the Visual C++ Build Tools (npm install --global windows-build-tools --vs2015)

Enviromental Variables | Config

BOT_TOKEN = bot token
PREFIX = the prefix for all the bot commands
ROLEGIVEPREFIX = the prefix users use to give/remove roles
COMMUNITYGUILDID = The community guild ID for submissions
STARBOARDGUILDID = The starboard guild ID
COMMUNITYSUBMISSIONCHANNELID = The community submission channel ID
REACTION = The reaction when messages are posted
REACTIONSNEEDED = The amount of reactions for a starboard post to be created

NOTE: ENVIROMENTAL VARIABLES OVERRIDE CONFIG FILES

Usage

node .

License

0BSD

Demo

See a demo at This Discord Server, with the starboard Here