gh-discord-middleware is a proxy-based solution to split the discord.js monorepo outgoing webhooks to multiple channels / webhooks on the discord.js Discord server.
Key | Description |
---|---|
GITHUB_SECRET_TOKEN |
A secret key used to secure incoming requests, if set |
DISCARD_VERCEL_PR_COMMENTS |
Whether to drop webhooks triggered by a pull request comment from the Vercel bot |
DISCARD_VERCEL_COMMIT_COMMENTS |
Whether to drop webhooks triggered by a commit comment from the Vercel bot |
DISCARD_CODECOV_COMMENTS |
Whether to drop webhooks triggered by a comment from the Codecov bot |
USE_FORUM |
Whether to consider all webhook keys to be used for a forum, each being the thread id to send to. Requires DISCORD_WEBHOOK_FORUM_BASE to be set |
DISCORD_WEBHOOK_FORUM_BASE |
The base webhook URL (include /github ) to be used for posting all events, split by thread id |
DISCORD_WEBHOOK_MONOREPO |
The default webhook URL to deliver all events to, unless they are split to another as defined below |
DISCORD_WEBHOOK_BUILDERS |
The webhook to deliver events to if they are determined to be strictly related to @discordjs/builders |
DISCORD_WEBHOOK_BROKERS |
The webhook to deliver events to if they are determined to be strictly related to @discordjs/brokers |
DISCORD_WEBHOOK_COLLECTION |
The webhook to deliver events to if they are determined to be strictly related to @discordjs/collection |
DISCORD_WEBHOOK_DISCORDJS |
The webhook to deliver events to if they are determined to be strictly related to the discord.js core package |
DISCORD_WEBHOOK_GUIDE |
The webhook to deliver events to if they are determined to be strictly related to @discordjs/guide |
DISCORD_WEBHOOK_PROXY |
The webhook to deliver events to if they are determined to be strictly related to @discordjs/proxy and the proxy-container package |
DISCORD_WEBHOOK_REST |
The webhook to deliver events to if they are determined to be strictly related to @discordjs/rest |
DISCORD_WEBHOOK_SHARDER |
The webhook to deliver events to if they are determined to be strictly related to @discordjs/sharder |
DISCORD_WEBHOOK_STRUCTURES |
The webhook to deliver events to if they are determined to be strictly related to @discordjs/structures |
DISCORD_WEBHOOK_UI |
The webhook to deliver events to if they are determined to be strictly related to @discordjs/ui |
DISCORD_WEBHOOK_UTIL |
The webhook to deliver events to if they are determined to be strictly related to @discordjs/util |
DISCORD_WEBHOOK_VOICE |
The webhook to deliver events to if they are determined to be strictly related to @discordjs/voice |
DISCORD_WEBHOOK_WEBSITE |
The webhook to deliver events to if they are determined to be strictly related to @discordjs/website |
DISCORD_WEBHOOK_WS |
The webhook to deliver events to if they are determined to be strictly related to @discordjs/ws |
Each webhook URL above needs to include /github on the end!