Skip to content

An easy script for integrating Discord Webhooks with the Omada Controller. It allows sending logs from the controller to a selected Discord channel.

License

Notifications You must be signed in to change notification settings

sefinek/Omada-Webhook-to-Discord

Repository files navigation

🌌 Omada Webhook to Discord

An easy script for integrating Discord Webhooks with the Omada Controller. It allows sending logs from the controller to a selected Discord channel.

Discord_gVcpXzaMEdDg.png ENABLE_DATA_CENSORING=false

Worth Knowing

✅ 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.

Cloning

git clone https://github.com/sefinek/Omada-Webhook-to-Discord.git

Endpoint

After running this script, webhooks from your controller should be directed to this endpoint:

POST /discord/webhook

Example

http://192.168.0.145:8080/discord/webhook

MIT License

Copyright 2024 © by Sefinek. All Rights Reserved.