A discord bot intended to track playtime. Written for nodejs and based on discord.js.
This bot allows you and your guild to track which games are most popular and who plays the most. It allows you to view a overview of your guilds statistics as well as fetch stats per game or player.
Available commands are:
- Overview: Prints a summary of your guilds statistics
- UserStats : Prints detailed stats on the player with the given display name
- GameStats : Prints detailed stats on the given game
- Help
All commands are prefixed by your configured COMMAND_PREFIX
- clone the repo
- run
yarn install
- copy
config.json.default
toconfig.json
and fill in your options - start the bot with
yarn start
and use the generated link to add the bot to your server
- Use the following environment variables to configure the bot:
DISCORD_TOKEN, MONGO_URL, COMMAND_PREFIX, mashapeKey, HEALTHCHECK, HEALTHCHECK_PORT