Discord plugin
Posts a message to a Discord channel when Mushi Mushi triages a bug or a fix lands.
Setup (Mushi Mushi Cloud, no code)
- In Discord: Channel settings → Integrations → Webhooks → New Webhook, then copy its URL.
- In the Mushi Mushi console: open the Integrations page and paste the URL on the Discord card.
Mushi Mushi posts to the channel itself; you do not need the npm package.
Self-hosted plugin
@mushi-mushi/plugin-discord
does the same from your own server. The console’s Marketplace has no Discord
listing, so you can’t install it from the console. On a Mushi Mushi server you run
yourself, add a plugin_registry row for it and install it like any listed
plugin.
npm i @mushi-mushi/plugin-discord
export MUSHI_PLUGIN_SECRET=...
export DISCORD_WEBHOOK_URL=https://discord.com/...
export ADMIN_BASE_URL=https://... # optional: console URL for report links
npx -p @mushi-mushi/plugin-discord mushi-plugin-discord| Event | Embed |
|---|---|
report.classified | Coloured by severity (critical red, high orange, medium yellow, low green) |
fix.proposed | Blue, with the PR link when there is one |
fix.applied | Green, with the PR link |
report.status_changed | Grey, “moved from X to Y” |
The fix embeds also have a “Fix status” field: proposed, applied or failed, taken from the event.
Last updated on