Skip to content
This repository has been archived by the owner on Aug 9, 2020. It is now read-only.

A template for a Discord.js v11 bot created by acollierr17.

License

Notifications You must be signed in to change notification settings

acollierr17/discord.js-v11-template

Repository files navigation

discord.js-template

Join the Discord

A template for a Discord.js bot that includes command and event handlers as well as environment variables and ESLint.

A star is always appreciated if you find this template useful for you!

Running Locally

Make sure you have Node.js installed as well as Git SCM Windows | Mac | Linux if you're going to go this route. Otherwise, simply clone the repo or download it and unzip it to a folder on your desktop.

$ git clone git@github.com:acollierr17/discord.js-template.git # or fork
$ cd discord.js-template
$ npm install

Rename .env.example to .env and update the file with its respective details. Afterward, start the bot.

$ npm start

Your Discord.js bot should now be live! (Check the console if you need to double check anything).

Deploying to Heroku

With the included Procfile you have the option of deploying the bot to Heroku.

Make sure you have Heroku CLI installed before proceeding. You will need to download the Heroku Node.js buildpack first before moving along.

$ heroku create --buildpack https://github.com/heroku/heroku-buildpack-nodejs.git

Once the buildpack is installed, you may proceed with deployment.

$ heroku create
$ git push heroku master
$ heroku open

or

Deploy to Heroku

Credits to Joma for the README template

About

A template for a Discord.js v11 bot created by acollierr17.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published