Skip to content

Latest commit

 

History

History
32 lines (29 loc) · 682 Bytes

README.md

File metadata and controls

32 lines (29 loc) · 682 Bytes

Discord Bot for linked

This is a bot for the https://github.com/lostdesign/linked discord community: https://discord.gg/uNjJzZvccr.

Setup

  1. Clone repo
git clone https://github.com/uselinked/discord.git
  1. Install dependencies
npm i
  1. Copy .env.example to .env
  2. Create a new bot inside discord developers portal
  3. Fill in the necessary fields
  4. Start the bot
npm run start

Deployment

Initially the bot needs to be installed by hand once, after that follow the steps below.

  1. Configure ecosystem.config.js as per PM2 docs
  2. Update slash commands
npm run update:slash-commands
  1. Deploy to production
npm run pm2-deploy