JettBot is a multi-purpose and easy-to-use Discord bot made using Javascript.
The bot may be run locally using Node.js (12.0+) or using a cloud platform such as Heroku. Keep reading for instructions on how to run the bot locally.
The bot requires respective API token/credentials for the following services:
Clone the repository files:
git clone https://github.com/jettbui/JettBot.git
Go to working directory and install required packages and dependencies:
npm install
In the base directory, create a .env
file and complete the following information using a text editor:
TOKEN=<your discord bot token>
YOUTUBE_API=<your youtube API token>
Run the bot with the following command in the working directory:
npm start
Invite the bot to your server using your generated OAuth2 URL.
Use the !help
command to list the possible commands for the bot. (You can change the command prefix in config.json
)