Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 702 Bytes

README.md

File metadata and controls

48 lines (32 loc) · 702 Bytes

Shoredark

A private Discord bot

This bot uses

  • Node.js 14 LTS (Hosted on GCP)
  • Discord.js@12
  • Typescript
  • Firebase
  • pm2

Installation & running

Installation

// Installs dependencies (including pm2)
yarn

// Installs typescript support for pm2
pm2 install typescript

Run

// Run
yarn start

// Run & keep it alive
pm2 start shoredark.ts

Setting up details

Firebase

You need a serviceAccount.json to run this bot on GCP inside /static/ Check the official guide of Cloud Firestore

.env

make .env on root with your bot's client token

CLIENT_TOKEN=<YOUR_BOT_TOKEN>