A discord bot
# install packages
npm install
# create the .env file (do not remove .env.example)
cp .env.example .env
# config the env variables (you can use any editor)
nano .env
# run the project once (so it can create the tables)
# and then run the seeds (only first time)
sequelize db:seed:all
# run
npm start
# run (with auto-restart)
npm run watch
- BOT_TOKEN - The token of the discord bot
- API_KEY - The Riot Api Key
- PREFIX - The text users will have to type to trigger bot commands (ex: !bot {command} {args})
- DB_DIALECT - Dialect of database: 'mysql' | 'postgres' | 'sqlite' | 'mssql' | 'mariadb'
- DB_HOST - Hostname of database
- DB_PORT - Port of database
- DB_USER - User of database
- DB_NAME - Name of database
- DB_PASSWORD - Password of database
- DEBUG - Set if console should print debug information
We use SemVer for versioning. For the versions available, see the tags on this repository.