{{#if is_incoming_webhook_bot}}
{{> ../components/action_button label=(t "Generate URL for an integration") variant="subtle" intent="neutral" custom_classes="generate_url_for_integration" }}
{{/if}} {{#if (and is_active is_bot_owner_current_user)}}
{{> ../components/icon_button custom_classes="download-bot-zuliprc tippy-zulip-delayed-tooltip" icon="download" intent="brand" data-tippy-content=(t 'Download zuliprc') }} {{> ../components/icon_button icon="copy" intent="success" id="copy-zuliprc-config" custom_classes="copy-zuliprc tippy-zulip-delayed-tooltip" data-tippy-content=(t "Copy zuliprc") }}
{{> ../components/action_button label=(t "API key") variant="subtle" intent="neutral" custom_classes="show-api-key" }}
{{/if}}
{{#if is_active}} {{> ../components/action_button label=(t "Deactivate bot") variant="subtle" intent="danger" custom_classes="deactivate-bot-button" }} {{else}} {{> ../components/action_button label=(t "Reactivate bot") variant="subtle" intent="success" custom_classes="reactivate-user-button" }} {{/if}}