/eventmod create
Create a new event modifier to filter, whitelist, blacklist, or redirect GitHub events on a webhook.
Creates an event modifier on a webhook. Modifiers let you suppress specific GitHub event types, or redirect them to a different Discord channel.
Usage
Parameters
| Prop | Type | Default |
|---|---|---|
webhook_id | string | - |
events | string | - |
blacklisted | boolean | - |
whitelisted | boolean | - |
priority | number | - |
repo_id | string | - |
redirect_channel | channel | - |
Permissions
Requires Manage Server (MANAGE_GUILD).
Cooldown
60 seconds (per guild).
Examples
Blacklist noisy events — drop watch and star events entirely:
Whitelist only CI events — only deliver workflow and check events:
Redirect deployments to a separate channel:
Notes
- A maximum of 10 event modifiers are allowed per webhook.
- Event names must match GitHub's event type identifiers exactly (see the GitHub Events reference).
- Backticks, extra commas, and double spaces in the
eventsstring are stripped automatically. - The modifier ID returned by the bot is needed to delete this modifier later.