Creating a Discord channel to receive IWServerMonitor notifications

<< Click to Display Table of Contents >>

Navigation:  Forum >

Creating a Discord channel to receive IWServerMonitor notifications

Forum link

 

 

 


 

08-13-2023, 03:49 AM:

 

Hi all,

 

Here is a small guide on how to create a Discord channel to receive notifications from your IntraWeb applications via IWServerMonitor.

 

First of all, you must register a Discord account. The process is simple and straightforward. You just need to chose a display name/user name and use your email: https://discord.com/register

 

After creating your user, you will receive an activating email. After that you can start using your account.

 

Here's how you create a new server/channel that can receive notifications from your server:

 

Create a Discord Server:

 

If you don't have a server yet, you'll need to create one. If you already have a server, you can skip this step. To create a server:

 

Click the "+" icon on the left sidebar of Discord.

 

 

 

Choose "Create a Server."

 

 

 

Follow the prompts to set up your server, giving it a name, selecting a region, and choosing an icon.

 

 

 

 

 

Create a Text Channel:

 

Inside your server, you'll need to create a text channel where your applications can send notifications. To create a text channel:

 

Right-click the server's name in the left sidebar.

 

 

 

Select "Create Channel."

 

 

 

Choose "Text Channel."

 

 

 

Give your channel a name and customize its settings as needed.

 

 

 

 

 

Create a Webhook:

 

Create a webhook for your text channel. A webhook is a URL that allows external applications to send messages to your Discord channel. Here's how to create a webhook:

 

Go to the text channel you created.

 

 

 

Click on the gear icon to the right of the channel name to access channel settings.

 

 

 

In the settings, select "Integrations."

 

 

 

Click the "Create Webhook" button.

 

 

 

Give your webhook a name and optionally choose an avatar for it.

 

 

 

 

 

After creating the webhook, you'll see a unique URL under the "Webhook URL" section. Click "Copy" to copy this URL.

 

The URL will look like this:

 

https : //discord.com/api/webhooks/1234567890123456789/AbCdEfGhIjKlMnOpQrStUvWxYz1234567890AbCdEfGhIjKlMnOpQrStUvWxYz

 

Inside the IWServerMonitor.ini file, you must provide the Discord Token, which is the part after "https://discord.com/api/webhooks/", i.e. the token will be:

 

1234567890123456789/AbCdEfGhIjKlMnOpQrStUvWxYz1234567890AbCdEfGhIjKlMnOpQrStUvWxYz

 

That's it.