Skip to content

thiemok/discord-playtime

Repository files navigation

discord-playtime

A discord bot intended to track playtime. Written for nodejs and based on discord.js.

Build Status Dependency status Coverage Status

Overview

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

Setup

  • clone the repo
  • run yarn install
  • copy config.json.default to config.json and fill in your options
  • start the bot with yarn start and use the generated link to add the bot to your server

Running on Docker

  • Use the following environment variables to configure the bot: DISCORD_TOKEN, MONGO_URL, COMMAND_PREFIX, mashapeKey, HEALTHCHECK, HEALTHCHECK_PORT

About

Discord Bot that collects playtime statistics

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published