Since bot types cannot be changed after creation, and deletion is not easy, i recommend adding an special URL as disabled so we don't have to provide dummy URLs to receive a webhook which is not needed.
The problem is that some bots might need webhooks in future, considering limitations i had to create an outgoing webhook type of bot, but in this stage webhook is not needed but I'm forced to provide an URL.
I've pinpointed the file which is responsible for this: outgoing_webhook.py, my recommendation is to add an if statement to prevent calling the webhook if it's something like: http://disabled or https://disabled.
I can make the contribute if i get the approval on the idea.
Since bot types cannot be changed after creation, and deletion is not easy, i recommend adding an special URL as disabled so we don't have to provide dummy URLs to receive a webhook which is not needed.
The problem is that some bots might need webhooks in future, considering limitations i had to create an outgoing webhook type of bot, but in this stage webhook is not needed but I'm forced to provide an URL.
I've pinpointed the file which is responsible for this: outgoing_webhook.py, my recommendation is to add an if statement to prevent calling the webhook if it's something like:
http://disabled
orhttps://disabled
.I can make the contribute if i get the approval on the idea.