/bot

Primary LanguageTypeScript

Status Servers Build


A work in progress Discord Minigames bot that brings many of you childhood favourites right into the comfort of the Discord UI
Explore the Repo»

Invite to your server · Report Bug / Request Feature

Table of Contents

About The Project

There are many Discord bots out there that can do games, but Frodo aims to bring them all together. It is currently being worked on by Daniel Howard and Noah Lavelle for fun and to develop skills. It is being updated frequently and includes many classic games.

Features

The bot will currently has quite a few games. The full list currently is

Dependencies

These are all of the node modules the bot uses.

discord.js
aki-api
node-fetch
express
firebase
nodemailer
topgg-autoposter
ws

Development

To develop on Frodo, some environment variables are required. To do this, make a file called .env in the root of the project and include these values:

  • TOKEN: The token you have recieved from your Discord Developer Portal
  • RUNTIME: Indicates the runtime version of bot
  • TESTING: Indicates runtime version but for testing

The following variables are optional:

  • FIREBASE_CONFIG: The config you have recieved from firebase, this allows Frodo to connect to the firestore to store leaderboards
  • TOPGG_TOKEN: Upload statistics to top.gg
  • WEBSOCKETAUTH: For the Website WebSocket
  • SENDMAIL: Send emails containing errors that have happend
  • MAIL_USER: Username for Email
  • MAIL_PASS: Password for Email
  • EMAILRECIVERS: Recievers for the error emails, seperated by a ,
  • GITLABISSUEEMAIL: The email to make issues on GitLab