Basic discord bot template with basic details of how to install/set up.
All code is contained in the index.js file.
For a bot template including command/event handlers, see Advanced-DisocrdJS-Bot-Template
.
For a bot template including automod features, see AutoMod-DiscordJS-Bot-Template
.
- Clone repository:
git clone https://github.com/Joshwgaming/Basic-DiscordJS-Bot-Template
- Configure the bot in
config.json
:{ "botToken": "your bot token here", "prefix": "#" }
- Install the required npm modules:
npm install
- Start your bot:
node index.js
- Once started, you should see
... successfully logged in.
in your terminal.