[Question] Any way to announce to two different servers?
rcnoob opened this issue · 2 comments
rcnoob commented
Title
Sarrus1 commented
Not without modifying the plugin, no.
Either modify the plugin (just duplicate the sendAnnouncement
call with a different webhook in each case).
Or create a simple proxy (Python, Rust, Go, whatever) and relay the payload from the plugin to the two webhooks.
One of the solution might be easier than the other depending on your knowledge and system setup.
rcnoob commented
https://pastebin.com/raw/jFwAereA
I added cvar webhook1 and function sendDiscordAnnouncement1. It works, but for some reason it sends duplicates to webhook1 server