Open JMorell opened 3 hours ago
I guess I should indicate on that page if there is some webhook saved in the database (ie. just showing dots like a censored password), but the web hooks themselves are intentionally not displayed to prevent leaks.
Is that it is not clear if I click on save, the saved webhooks will be lost, nor do I know how to delete it completely.
And the Pingable Staff field, I need to add the webhook everytime I wan to change the last field?
Currently, if you just click save with the webhook fields empty, it shouldn't overwrite what is already saved (which in turn means currently the only way to delete the webhooks is filling in the field with garbage). When I change it to be a censored version, I'll also change it so deleting the placeholder will actually clear the webhook, while if you don't delete the placeholder nothing will be edited. Hopefully that should be a bit more intuitive.
As for the pingable staff role, as long as the client can get some feedback a webhook is already saved, I'll let that be edited without requiring the webhook to be re-inputted. However, currently it does require the webhook to be saved again, yes.
Every time I go back to edit the server settings, the webhook fields are empty.