From 01b80125f4f03fe5408a01a11aa24133b50047ce Mon Sep 17 00:00:00 2001 From: Niloth P <20315308+Niloth-p@users.noreply.github.com> Date: Wed, 20 Nov 2024 11:58:40 +0530 Subject: [PATCH] tools/screenshots: Create integration bots using display_name. Will be adding the updated screenshots of affected integrations as soon as the PR with the new logos and example screenshots gets merged. --- tools/screenshots/generate-integration-docs-screenshot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/screenshots/generate-integration-docs-screenshot b/tools/screenshots/generate-integration-docs-screenshot index ada5cdb635..c379c5bcc3 100755 --- a/tools/screenshots/generate-integration-docs-screenshot +++ b/tools/screenshots/generate-integration-docs-screenshot @@ -61,7 +61,7 @@ def create_integration_bot(integration: Integration, bot_name: str | None = None owner = get_user_by_delivery_email("iago@zulip.com", realm) bot_email = f"{integration.name}-bot@example.com" if bot_name is None: - bot_name = f"{integration.name.capitalize()} Bot" + bot_name = f"{integration.display_name} Bot" try: bot = UserProfile.objects.get(email=bot_email) except UserProfile.DoesNotExist: