aottr / lexbot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitHub license Maintained GitHub open issues

LexBot (v3)

Redesigned (Discord) LexBot in TypeScript for Discord.js v14

Setup

  1. Install all dependencies via npm install after cloning the repo.

  2. Create a .env-File and add your Discord bot token.

TOKEN=

.env is part of the .gitignore file so changes won't be committed.

If you want to use a MongoDB Backend, add the following variables to .env

MONGO_BACKEND=True
MONGO_USER=
MONGO_PASS=
MONGO_HOST=
MONGO_DB=

npm Commands

Command Description
npm run prebuild Extract version from package.json.
npm run build Build the typescript code.
npm run start Runs the bot from the built JavaScript.
npm run debug Debug the TypeScript in watch mode.

About

License:MIT License


Languages

Language:TypeScript 97.2%Language:Dockerfile 2.8%