- Download the code from this repository:
- Method 1: Click the green
Code
button and clickDownload Zip
- Method 2: Cloning the Github repository.
- Method 1: Click the green
- Once you have the code open, make your way to the
config.json
file and make your way to the line which looks like this:
"bottoken": ""
- Insert your Discord bot's secret token in between the quotation marks!
- Click here for a tutorial for how to obtain your Discord bot's token!
If you don't have node installed, click here to install. Go to the folder with the code in the terminal of your choice and type in:
npm i discord.js
- Channel format must be M-D-Etc. ex: (9-4-general-meeting)
- The prefix to use the commands in the bot is
*
- The full list of commands can be found using the command
*help
- To change the prefix, head over to
index.js
and find the line which looks like this:
const prefix = "*";
and switch out the *
with any prefix of your liking.