Skip to main content

Discord

This guide contains information to set up a Discord Sink in Vanus Connect.

Introduction

Discord is a platform that provides free voice, video, and text chat for groups, making it popular among online communities, teams, and remote workers.

Using Discord Sink connector in Vanus Connect, you can easily forward real-time updates to a Discord group chat, allowing your team to stay up-to-date on all events generated by your application.

Prerequisites

Before forwarding events to Discord, you must have:

Getting Started

To set up an app for receiving events in your Discord server:

Step 1: Create a Server

  1. Go to the Discord application.

  2. Create a new server by clicking the +① icon.

discord-sink-1

  1. Choose a template or create your own, by selecting Create My Own②.

discord-sink-2

  1. Click on Skip this question③ to move to the next step of your configuration.

discord-sink-3

  1. Input a Server Name④ and click on Create⑤.

discord-sink-4

Step 2: Get a webhook URL

  1. Bring out the drop down settings menu by clicking ①.

discord-sink-5

  1. Select Server Settings②.

discord-sink-6

  1. Click on Integrations③ in the sidebar menu under APPS.

discord-sink-7

  1. Click Create Webhook④.

discord-sink-8

  1. Click on Spidey Bot⑤, the webhook you just created.

discord-sink-9

  1. Tap the Copy Webhook URL⑥ button.

discord-sink-10

  1. Return to the Vanus Connect page and paste your webhook URL in the Webhook URL⑦ field.

discord-sink-11


Step 3: Personalize Event Structure

note

This is a general instruction on how to personalize your event structure. You can structure your events to suit your specific requirements and create connections for different scenarios.

  1. Click on Display sample events① for reference, compose your preferred message, then type $ followed by the desired event② to access a list of associated event values③, and choose the one you prefer.

discord-sink-12

  1. You can structure the content as you prefer and fill in as many values④ as you wish to receive.

discord-sink-13

  1. Click Submit⑤ to finish the configuration process.

discord-sink-14


Required Data Format

The event data must be JSON format, here a simple message, example:

{
"data": {
"username": "Test",
"content": "Hello, This is a Discord Message!"
}
}

Template Scenario

Here are some easy to use scenarios for this connector.