Our Rules screen in Discord
Download NodeJS from https://nodejs.org/en/download
Clone the Repository
git clone https://github.com/RootKit-Org/Discord-Rules-Message.git
Navigate into the newly created folder
Enable Yarn
// Preferred
corepack enable yarn
// This also works
npm i -g yarn
Install all dependencies
yarn install
Make a copy of .env.config
named .env
cp .env.config .env
Go to discord and create a Webhook under Edit Channel -> Integrations
. Configure the webhook to look the way you want.
Copy the WEBHOOK_URL into the created .env
file
Add your rules information to /src/embeds/rules.ts
Publish to the configured webhook by running yarn post
.