Skip to content

Official Discord bot for Open Brewery DB built with Discord.js

Notifications You must be signed in to change notification settings

openbrewerydb/openbrewerydb-discord-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

openbrewerydb-discord-bot

Discord bot for openbrewerydb server built with Discord.js

Getting Started

1. Setup

These are initial steps to get things running.

  1. npm install
  2. echo "DISCORD_TOKEN=" >> .env

2. Create a Discord Bot

Use your Discord login to access the Developers Portal (or sign up).

  1. Go to the Discord Developers Portal and create a New Application.
  2. Once created, click on Settings > Bot click on Add Bot.
  3. Turn off Public Bot.
  4. Under Build-A-Bot, copy the Token and paste in your .env file (see Getting Started)

3. Add Bot to OBDB Discord

In order for the bot to appear in the OBDB Discord Server, an Admin will need to authorize and add it.

  1. Go to General Information and copy Client ID.
  2. 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

4. Run Bot

npm start