{"repo":"discordjs/resource-webhooks","free":true,"listed":false,"github":"https://github.com/discordjs/resource-webhooks","clone":"git clone https://github.com/discordjs/resource-webhooks.git","description":"A collection of webhooks to update our resources on discord","language":"TypeScript","stars":23,"topics":["discord","discord-server","webhook","discord-api","hacktoberfest","discord-bot"],"license":"MIT","category":"chat-messaging","readme_excerpt":"About Each file in ./resources expects a github webhook in the repositories secrets in the format WEBHOOK FILE NAME . Deploying the webhook messages is done manually via workflow dispatch. The provided tags are the resource names in discord channel format and separated by the , character. Example: rules, useful-servers The repository requires the WEBHOOK AVATAR and WEBHOOK NAME repository secrets which control the webhooks avatar and name respectively for all deployed webhook resources. Contributing 1. Fork & clone the repository, and make sure you're on the main branch 2. Run npm install 3. Code your heart out! 4. Run npm run lint to run ESLint 5. Run npm run build to transpile into JavaScript and ensure no type errors remain 6. Submit a pull request (Make sure you follow the conventional commit format) Adding content 1. Add the file into ./resources (The file name should be derived from the channel the webhook will post to for added verbosity. The channel foo-bar becomes FOO BAR.md ) 2. Each new paragraph (double newline character) will be posted in a new message. Try to use as few messages as possible (the limit is 2000 characters per message) to avoid rate limiting. You can add a spacer and simulate a new message with 3. Channel names and other escape sequences should have the format %FOO BAR% and need to be added to the mapping replacePatterns in ./src/index.ts 4. Add a Webhook requirement to ./.github/workflows/deploy.yml . The repository secret should have the format W","default_branch":null,"files":null,"tree":[],"storefront":"/r/discordjs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/discordjs/resource-webhooks/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}