Skip to content

Mstr-Samuel/Perpetual-Mechanical-Array-Bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Perpetual Mechanical Array Bot

Discord Bot for Traveler Mains Server

Invite link - click here

Bot permissions

Bot Permissions

Hosting (Production environment)

If you wish to run this bot follow the given steps.

Pre-requisites

Firestore

  1. Create a new Firebase project
  2. Download Firebase admin key
  3. Copy that key into firebase-service-acc folder

Discord Bot Token

  1. Create a new bot
  2. Make a copy of sample.env file & rename it to .env
  3. Copy Application ID & paste into CLIENT_ID field
  4. Copy Token (from Bot page) & paste into TOKEN field
  5. Copy Server ID & paste into GUILD_ID field

Code preparation

Execute the following:

npm install

This will install the dependencies

npm run build

This will transpile Typescript code to Javascript code

Install Docker

Method 1

The best way is to install & start Docker Desktop

Method 2

For headless install (or where there is no GUI available for e.g. Virtual Private Server Environments)

  1. Install Docker Engine
  2. Install Docker Compose

You may also refer this outdated guide

Run

After Docker is installed, run the following command to start the bot.

npm run docker:prod

About

Discord Bot for Traveler Mains Server

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 99.4%
  • Other 0.6%