Chase c0b924d7f8 | ||
---|---|---|
.github | ||
.vscode | ||
src | ||
.dockerignore | ||
.editorconfig | ||
.eslintrc.json | ||
.gitattributes | ||
.gitignore | ||
Dockerfile | ||
LICENSE.md | ||
README.md | ||
docker-compose.yml | ||
package-lock.json | ||
package.json |
README.md
Table of Contents
Installation
Setup
- Create a new Discord Application.
- Make it a Bot account.
- Enable
Server Members Intent
, andMessage Content Intent
under Privileged Gateway Intents. - Proceed with the installation.
- Setup the Webfront Configuration
Normal Installation
Requirements
Installation
git clone https://github.com/chxseh/discord-bot.git
cd bot
npm ci
For the initial setup, use
npm start
. After initial setup is completed you can usepm2 start npm --name "bot" -- start
to keep the bot running.
Webfront Setup
For the webfront to work, you must set a OAuth2 Redirect URL in your Discord Application.
The redirect should be https://yourDomain.com/discord/callback