Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.
/ RainbowBOTJS Public archive

RainbowBOT - a Discord bot with rich functionality written on TypeScript

License

Notifications You must be signed in to change notification settings

Hatry1337/RainbowBOTJS

Repository files navigation

About RainbowBOT

This is a RainbowBOT's source files.

RainbowBOT is a Discord bot with rich functionality written on TypeScript using Synergy3 and discord.js libs.

Basically, main discord-related stuff is implemented on Synergy3 side and this bot is a Synergy3 Modules Collection.

So, now bot is completely opensource. Feel free to leave issues/pull requests, fork and etc.

How to build and run

  1. Clone this repo somewhere
git clone https://github.com/Hatry1337/RainbowBOTJS
  1. Move into cloned directory
cd RainbowBOTJS
  1. Create .env file and fill it with your credentials
TOKEN="Your Discord Token"
DBURI="Database URI like postgres://user:password@host:5432/database"
NODE_ENV="'production' or 'development', production pushes commands globally by default"
MASTER_GUILD="Your discord guild id to push commands to if you use development mode"
TOPGG_TOKEN="Your top.gg token, can be leaved blank"
OSU_API_KEY="Your osu! api key, used for module 'OsuInfo', also can be leaved blank"
  1. Install required dependencies
npm i
  1. Build typescript project
tsc
  1. Launch the bot!
node ./dist/bot.js

About

RainbowBOT - a Discord bot with rich functionality written on TypeScript

Resources

License

Stars

Watchers

Forks

Packages

No packages published