Lincoln-LM / sv-live-map

GUI Map for displaying information on Tera Raid Dens in Pokémon Scarlet and Violet
GNU General Public License v3.0
25 stars 6 forks source link

Multiple Webhooks #49

Closed RedQuiet closed 1 year ago

RedQuiet commented 1 year ago

Discord doesn't let any one webhook post to multiple channels in the same server. So if I want more than one channel to get an update, I need multiple webhooks. Support for more than one would be nice so I could sort raids into specific channels.

Oh and maybe a little drop down to switch between them as well so, for example, if I was to switch to Violet I could use a drop down menu to switch to the Violet webhook instead of my Scarlet one.

Lincoln-LM commented 1 year ago

possibly a checked combobox (the drop-down used for filters) for selecting different webhooks?

Lincoln-LM commented 1 year ago

when implemented, an option for an individual "webhook setting" should include whether or not to ping on exception. #53

architdate commented 1 year ago

RC is doing this by comma separating it, could probably add a custom control in python to add it to a list and saving it as part of your cached settings

Lincoln-LM commented 1 year ago

With just a comma-separated input it would not support having different settings for each webhook. The likely implementation at this point is a normal dropdown that fills in/saves from the inputs on the GUI, with a checkbox to mark whether or not the webhook is enabled.