-
Notifications
You must be signed in to change notification settings - Fork 3
[EN] Create and Add your Discord Webhook
Taro edited this page Apr 19, 2024
·
4 revisions
Note
Skip this step if you already have your own server.
Creating your own Discord Server
- Click the
Add a Server
Button.
- Click the
Create My Own
Button.
- Choose the name of your server and Click the
Create
button.
Creating a new Channel in your Discord Server
- Click the
Create Channel
button.
- Set the channel to be
Text
, set theChannel Name
and click theCreate Channel
button.
Creating the Discord Webhook
- On your newly created
galactica-alerts
channel, click the icon toEdit Channel
.
- Click the
Integrations
tab.
- Click the
Create Webhook
button.
- This will create a new
Spidey Bot
(highlighted in orange)
- Set the name of the webhook and channel and
Save your changes
- Click the
Copy Webhook URL
button to copy the webhook URL.
- Head over to your Galactica Node SSH Client and use your favorite text editor to edit your
$HOME/.bash_profile
# Use your preferred text editor (vi, vim, nano, etc...)
vim $HOME/.bash_profile
# $HOME/.bash_profile
# Paste your Discord Webhook URL into the following variable
export GN_DISCORD_WEBHOOK="PASTE YOUR DISCORD WEBHOOK URL HERE"
Example:
You're ready to use the Discord Webhook for any monitoring alerts on your Galactica Node!