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.gitNavigate into the newly created folder
Enable Yarn
// Preferred
corepack enable yarn
// This also works
npm i -g yarnInstall all dependencies
yarn installMake a copy of .env.config named .env
cp .env.config .envGo 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.