This is a bot for the https://github.com/lostdesign/linked discord community: https://discord.gg/uNjJzZvccr.
- Clone repo
git clone https://github.com/uselinked/discord.git
- Install dependencies
npm i
- Copy
.env.example
to.env
- Create a new bot inside discord developers portal
- Fill in the necessary fields
- Start the bot
npm run start
Initially the bot needs to be installed by hand once, after that follow the steps below.
- Configure
ecosystem.config.js
as per PM2 docs - Update slash commands
npm run update:slash-commands
- Deploy to production
npm run pm2-deploy