You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -23,4 +23,4 @@ The repository requires the `WEBHOOK_AVATAR` and `WEBHOOK_NAME` repository secre
23
23
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`)
24
24
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 `_ _`
25
25
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`
26
-
4. Add a Webhook requirement to `./.github/workflows/deploy.yml`. The repository secret should be prefixed with `WEBHOOK_`for added verbosity. The entry for our example is `FOO_BAR: ${{ secrets.WEBHOOK_FOO_BAR }}`
26
+
4. Add a Webhook requirement to `./.github/workflows/deploy.yml`. The repository secret should have the format `WEBHOOK_CHANNEL_NAME_ID` and `WEBHOOK_CHANNEL_NAME_TOKEN`for added verbosity. The entry for our example is `https://discord.com/api/webhooks/${{ secrets.WEBHOOK_FOO_BAR_ID }}/${{ secrets.WEBHOOK_FOO_BAR_TOKEN }}`
0 commit comments