|
| 1 | +--- |
| 2 | +title: Discord Bot |
| 3 | +description: Get Discord notifications for new package releases in your server channels. |
| 4 | +--- |
| 5 | + |
| 6 | +import { Aside } from '@astrojs/starlight/components'; |
| 7 | +import AddToDiscordButton from '../../components/AddToDiscordButton.astro'; |
| 8 | + |
| 9 | +The Patch Pulse Discord Bot notifies your server whenever a package you depend on releases a new version. |
| 10 | + |
| 11 | +<AddToDiscordButton href="https://grand-yak-92.convex.site/discord/install" /> |
| 12 | + |
| 13 | +<Aside type="note"> |
| 14 | + Discord currently gets the base release notification flow. GitHub link |
| 15 | + backfill and AI-generated release summaries remain Slack-only for now. |
| 16 | +</Aside> |
| 17 | + |
| 18 | +## How it works |
| 19 | + |
| 20 | +Once installed, the bot monitors packages you care about and sends a Discord message when a new version is published to the npm registry. |
| 21 | + |
| 22 | +Discord tracking is channel-based: |
| 23 | + |
| 24 | +- every subscription targets an explicit channel |
| 25 | +- the same package can be tracked in multiple channels |
| 26 | +- filters can be set to patch, minor, or major updates |
| 27 | + |
| 28 | +## Slash commands |
| 29 | + |
| 30 | +Use these commands in your server: |
| 31 | + |
| 32 | +- `/npmtrack package:react` |
| 33 | +- `/npmtrack package:react channel:#frontend` |
| 34 | +- `/npmtrack package:react filter:minor` |
| 35 | +- `/npmuntrack package:react` |
| 36 | +- `/npmuntrack package:react channel:#frontend` |
| 37 | +- `/npmlist` |
| 38 | + |
| 39 | +Command responses are ephemeral, while update notifications are posted into the subscribed channel. |
| 40 | + |
| 41 | +## Install and setup |
| 42 | + |
| 43 | +To add Patch Pulse to your server: |
| 44 | + |
| 45 | +- open [grand-yak-92.convex.site/discord/install](https://grand-yak-92.convex.site/discord/install) |
| 46 | +- choose the target server |
| 47 | +- approve the requested permissions |
| 48 | + |
| 49 | +If you are self-hosting Patch Pulse rather than using the hosted bot, the Discord app setup and environment configuration live in the notifier package docs, not the public user docs site. |
| 50 | + |
| 51 | +## Slack vs Discord |
| 52 | + |
| 53 | +Slack and Discord support the same core package tracking model, but there are a few operational differences: |
| 54 | + |
| 55 | +- Slack has a workspace default channel; Discord does not |
| 56 | +- Slack receives delayed GitHub link backfill and AI summaries; Discord currently does not |
| 57 | +- Discord commands use typed slash-command options instead of Slack's free-text command parsing |
0 commit comments