Skip to content

aottr/lexbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published