The Notifications feature lets server members subscribe and unsubscribe from notification roles entirely by themselves — no moderator action required. All interaction is ephemeral, so only the member using the command can see the UI.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Effect-TS/discord-bot/llms.txt
Use this file to discover all available pages before exploring further.
How it works
Run /notifications
Any server member runs
/notifications. The bot responds with an ephemeral multi-select dropdown listing every available notification role.Pick your roles
Select or deselect roles in the dropdown. The roles you currently hold are pre-selected. You can choose any combination, including none.
Which roles appear
Only roles whose name starts with the🔔 prefix are shown. This lets server administrators control which roles appear in the dropdown by simply naming them with the bell emoji.
Notifications.ts
The notification message
Themessage function builds the UI component tree that is sent (or updated) in response to the command and each subsequent selection:
Notifications.ts
The entire response is ephemeral — other members never see which roles you selected.
Setting up notification roles
To make a role appear in the/notifications dropdown, rename it so its name starts with 🔔 (bell emoji followed by a space). For example:
🔔 Releases🔔 RFCs🔔 Community calls