This project is licensed under the GNU General Public License v3.0. You are free to fork, modify, and contribute under the terms of this open-source license.
⚠️ WARNING: This script is unmaintained!This repository is unmaintained. It was updated once after 3 years to remove our branding and simplify usage. No further updates or support will be provided.
Interested in maintaining this project? If you would like to take over maintenance (on a volunteer basis, as we no longer use this), please contact us!
Run this one-liner to install and configure:
curl -fsSL https://raw.githubusercontent.com/HyberHost/Server-Alerts-For-Discord/main/install.sh | bash
# or
wget -qO- https://raw.githubusercontent.com/HyberHost/Server-Alerts-For-Discord/main/install.sh | bash-
Set your Discord Webhook URL
- Edit
discord-alert.shand set theDISCORD_WEBHOOK_URLvariable to your Discord webhook.
- Edit
-
Make the script executable
chmod +x discord-alert.sh
-
(Optional) Download
discord.shdependency- The script will attempt to download
discord.shautomatically if not present. - Or, manually download from: https://github.com/fieu/discord.sh
- The script will attempt to download
-
Run the script
./discord-alert.sh
-
Setup Symolic Link to automatically trigger the script on login
ln /scripts/discord-alert.sh /etc/profile.d/discord-alert.sh