Discord bot for openbrewerydb server built with Discord.js
These are initial steps to get things running.
npm install
echo "DISCORD_TOKEN=" >> .env
Use your Discord login to access the Developers Portal (or sign up).
- Go to the Discord Developers Portal and create a New Application.
- Once created, click on Settings > Bot click on Add Bot.
- Turn off Public Bot.
- Under Build-A-Bot, copy the Token and paste in your
.env
file (see Getting Started)
In order for the bot to appear in the OBDB Discord Server, an Admin will need to authorize and add it.
- Go to General Information and copy Client ID.
- Private message your Client ID (Application ID) to an Admin (i.e., chrisjm) on the OBDB Discord.
a. Admin will add the bot via the following:
https://discord.com/oauth2/authorize?client_id={client_id}&scope=bot
npm start