Add Exitember to Discord
Invite the bot with the permissions it needs, then configure a staff log channel
with /setup in your server.
Client ID not set yet.
Set
clientId in site/config.js after creating the Discord
application in the Developer Portal (General Information → Application ID). That ID is
public (not a secret). Redeploy the site, or fill it in before deploy, then this button
will open the official Discord authorize page.
Invite URL
Required permissions
The invite requests these bot permissions (bitfield 2147503104):
- View Channels: see the staff log channel
- Send Messages: post leave summaries
- Embed Links: rich staff embeds
- Use Application Commands: slash commands
Server Members Intent
In the Discord Developer Portal, under Bot → Privileged Gateway Intents, enable Server Members Intent. Without it, leave events will not fire and surveys will not run.
After install
- Open your Discord server.
- Run
/setup log_channel:#your-staff-channel(requires Manage Server). - Optional:
/survey-statsand/invite.
This page never loads your bot token or Supabase keys. Only the public Application ID
from config.js is used to build the Discord OAuth invite link.