Skip to content

JackyKit123/randomdice.gg-discord-bot

Repository files navigation

randomdice.gg-discord-bot

This project is a discord bot that can sync data from randomdice.gg website.

It is a submodule of randomdice.gg Repository.

Before You Start

npm install

First install all required packages.

Create .env

Include the following environment variables in a .env

Variable Name Description
BOT_TOKEN Token for discord bot
FIREBASE_ADMIN_PRIVATE_KEY Private key for accessing firebase database
FIREBASE_ADMIN_CLIENT_EMAIL Client email for firebase service account

Development

npm run dev

Execute eslint, prettier and ts-node to start a development sever.

npm run dev:register-slash-commands

Register Discord application commands, only in development, to prevent spamming api requests

Deployment

npm start

This project is built to deployed with git onto heroku. On production server, use npm start to start, optionally you can start the production in daemon with forever.

About

A discord bot that can sync data from randomdice.gg website

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages