Skip to content

Latest commit

 

History

History
52 lines (38 loc) · 1.38 KB

README.md

File metadata and controls

52 lines (38 loc) · 1.38 KB

Houndbot

A discord bot

Getting Started

# 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

Pictures

start champ-details duel

Env variables

  • 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

Built With

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.