Skip to main content

Discord Webhooks Integration

Learn how to setup Discord Webhooks in SnailyCADv4.

Create Discord application

If you already have an application created in the Discord portal, you can skip this step.

Note: you can use the same application from Discord Authentication

  1. head to
  2. Click the "New Application" button in the top right
  3. Enter a name in the modal and press "Create"
  4. Once created, it will redirect you to the application.
  5. Head to the "OAuth2" section
  6. Copy the "Client ID" and "Client Secret" (these will be used later)

Creating bot

We'll now have to create the bot in the application.

  1. Head to the Bot tab
  2. Create a new bot
  3. Invite this bot to your Discord server
  4. Copy the bot token and save for #update-env

The bot must have Manage Webhooks permissions

Update .env

Once everything is correctly setup above, we can continue.

  1. Open the .env file
  2. Add the following lines

This must be placed at the bottom of SnailyCAD's .env file



SnailyCAD also supports multiple Discord servers. This can be done by adding a comma , between each server ID.

Example: DISCORD_SERVER_ID="123456789123456789,987654321123456789"

  1. Enter the copied values from earlier in the corresponding name
  2. Properly update the .env file
  3. Restart the entire CAD.

Was this page helpful?