Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

hubot-integrations: Add secondary line text for all Hubot scripts.

Niloth P727fa9f32fcb
diff --git a/zerver/lib/integrations.py b/zerver/lib/integrations.py
index 515a6e37ef6..40c52a64196 100644
--- a/zerver/lib/integrations.py
+++ b/zerver/lib/integrations.py
@@ -291,6 +291,7 @@ def get_fixture_and_image_paths(
class HubotIntegration(Integration):
GIT_URL_TEMPLATE = "https://github.com/hubot-archive/hubot-{}"
+ SECONDARY_LINE_TEXT = "(Hubot script)"
def __init__(
self,
@@ -309,6 +310,7 @@ class HubotIntegration(Integration):
name,
categories,
logo=logo,
+ secondary_line_text=self.SECONDARY_LINE_TEXT,
display_name=display_name,
doc="zerver/integrations/hubot_common.md",
legacy=legacy,