Dark Elise is an open source, multi-functional Discord bot that is constantly growing.
The codebase also serves as a base framework to easily create Discord bots of all kinds.
You can test drive the ping command by using this link.
A quick look at the top-level files and directories you'll see in a Gatsby project.
├──── dark-elise-bot
│ ├── .github/
│ ├── src/
│ ├── .editorconfig
│ ├── .eslintrc.js
│ ├── .gitattributes
│ ├── .gitignore
│ ├── .lintstagedrc.js
│ ├── .npmrc
│ ├── compose.yml
│ ├── Dockerfile
│ ├── LICENSE
│ ├── npm-shrikwrap.json
│ ├── package.json
│ └── README.md
Clone the package via git
:
git clone git@github.com:0-vortex/derk-elise-bot.git
This repository requires node>=v14.16.0
to be installed.
This repository is featuring granular controls fully orthogonal to environment variables as specified by the twelve-factor app guidelines.
In order for the application to run we need the following environment variables set similar to the following example.
Without these variables the application will fail to start, so in order for the app to start locally we need to create an .env
file with the following values:
BOT_TOKEN=UzE8OTY2NTBzNjczNzkwNDY0.BTWWBw.UwhtObbCJxVFLRkhqx48I7jL8Ys
NPM_CONFIG_PRODUCTION=false
RICH_PRESENCE_STATUS=true
To develop locally just run:
npm start
This repository uses husky
with pre-commit and message hooks. All you need to do after staging some files is to run:
npm run push