Sign inSign up

damianisaacs/kronos

By damianisaacs

Updated over 4 years ago

Discord.JS Bot, uses MongoDB, logs user Playtime. Instructions: https://github.com/Dsiman/Kronos

Image
0

100K+

damianisaacs/kronos repository overview


Logo
Kronos

A Discordjs Bot built with the intention of collecting user sessions in games and saving them to a database. You can also use the Docker container listed below.

Built With

(back to top)

Prerequisites
  • npm
    npm install npm@latest -g
    
  • You will need to obtain a Discord Bot TOKEN
    https://discord.com/developers/applications
    
  • If you intend to use docker use this
    https://hub.docker.com/repository/docker/damianisaacs/kronos
    
NodeJs Installation
  1. Clone the repo
git clone https://github.com//Dsiman/Kronos.git
  1. Install NPM packages
npm install
  1. Make a mongodb database to store your sessions
https://www.mongodb.com/
  1. Enter your enter your Discord bot token and mongodb connection string in your environment variables
token=somestringprovidedbydiscorddeveloperportal
mongoURI=mongodb+srv://<Username>:<Password>@mongodb.com/<Database>
  1. Run your bot
npm start
Docker Installation
  1. Install docker
https://docs.docker.com/get-docker/
  1. Get Kronos from dockerhub
docker pull damianisaacs/kronos
  1. Define your environment variables
/* make a .env file containing */
token=somestringprovidedbydiscorddeveloperportal
mongoURI=mongodb+srv://<Username>:<Password>@mongodb.com/<Database>
  1. Run your bot
docker run --env-file .env damianisaacs/kronos
  1. Invite your bot to the server
https://discord.com/developers/applications/<YourBotAppID>/oauth2/url-generator

(back to top)

Contact

Discord

Email

Docker

Github

(back to top)

Donate

Cashapp

(back to top)

Tag summary

Content type

Image

Digest

Size

460.8 MB

Last updated

over 4 years ago

docker pull damianisaacs/kronos