Make url optional when bot only features response #11358
Open
Description
How to use GitHub
- Please use the 👍 reaction to show that you are interested into the same feature.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Is your feature request related to a problem? Please describe.
When installing a bot that only sends message (i.e. has only feature response
set), it is still required to provide a URL to occ talk:bot:install
.
Describe the solution you'd like
The parameter url
should only be required when the feature set includes webhook
.
Describe alternatives you've considered
Provide an invalid URL for "send-only bots".
Additional context
Since it is allowed to change the feature set via occ talk:bot:state
, #11357 is either required before, or enabling the webhook feature is not possible for bots created without an url.
Activity