This is a starter template for Discord.js v14.
- Clone the repository with
git clone https://github.com/x1xo/DiscordJS-Starter - Replace your Discord Token in the
.envfile. - Replace your Discord Development Guild Id in the
.envfile so you don't push the commands to all of the guilds.
- Clone the repository from your GitHub using
git clone https://github.com/<name>/<repo>. - Navigate into the folder using
cd <folder>. - Build the Docker image using
docker build -t image-name .(dot is very important). - Deploy the Docker image using
docker run -itd image-name.
If you don't have Docker installed on your machine, run the following command:
curl -sSL https://get.docker.com | sh