- clone the project
- install dependencies with NPM:
npm i
or with Yarn:
yarn
- setup .env
BOT_TOKEN=YOUR_TOKEN
MONGO_USER=gametracker-user
MONGO_PASSWORD=strongpasswordlol
- with NPM:
npm run start
- or with Yarn:
yarn start
- run Docker
docker-compose up -d
Trigger | Description | Example |
---|---|---|
!yo | Says hi! | !yo |
!timespent | Prints current user's stats. | !timespent |
!timespent {user} | Prints stats of a given user. | !timespent @Someone |
!timespent_global | Prints stats of all users. | !timespent_global |
!populate --game {game} --user {userID} --minutes {minutes} | Inserts given data in Database. | !populate --game Battlerite Royale --user 123 --minutes 60 |
!help | Prints available commands. | !help |