Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fissionfeline/discord-js-template

The template for most of my discord bots
https://github.com/fissionfeline/discord-js-template

discod-bots discord discord-js discord-js-base discord-js-bot discord-js-example discord-js-template

Last synced: about 11 hours ago
JSON representation

The template for most of my discord bots

Awesome Lists containing this project

README

        

# discord-js-template
This is my template for most of my discord.js bots, feel free to use!

## Setup
Copy the `.env.example` file to `.env`
```bash
cp .env.example .env
```

Open it with your favorite editor, Nano, Vim or Emacs.

Replace the `TOKEN` in the `.env` file with your own Authentication Token given to you by Discord in their portal
Replace the `APPLICATION_ID` in the `.env` file with the application id of the bot.

## DO NOT MAKE THE .env FILE PUBLIC
By default, `.env` is git ignored (meaning it is ignored by git). If you disable this, there can be huge security risks such as
- Hackers being able to use your authentication token and using it for malicious purposes
- Bad in general

If you do not touch the `.gitignore` then you should be fine. But be sure not to remove the `.env` part from the `.gitignore`.