An easy script for integrating Discord Webhooks with the Omada Controller. It allows sending logs from the controller to a selected Discord channel.
✅ Discord @mentions for critical alerts (detected attack, errors, etc.)
✅ Middleware responsible for verifying the shardSecret
.
✅ Ability to enable censorship of sensitive data.
✅ Ready configuration for PM2.
✅ Built in Node.js using the Express.js framework.
git clone https://github.com/sefinek/Omada-Webhook-to-Discord.git
After running this script, webhooks from your controller should be directed to this endpoint:
POST /discord/webhook
http://192.168.0.145:8080/discord/webhook
Copyright 2024 © by Sefinek. All Rights Reserved.