/BotTemplate

Simple template for Discord bots

Primary LanguageJavaScriptMIT LicenseMIT

Discord bot template

Simple template for Discord bots

This template made for Discord.js v12 and higher

Setup

Clone repository from GitHub

git clone https://github.com/StavZ/BotTemplate.git

Go to this repository

cd BotTemplate

Install dependencies

npm i

Creating Discord bot

  1. Go to Discord Developer Portal

  2. Click New Application button

  3. Create a bot application

  4. Copy bot token

  5. Paste bot token to .env file

Ready

Now you can run a bot

node index