From b13ced0e6e3b56e4dd6be2b783427289d04dd9d7 Mon Sep 17 00:00:00 2001 From: Andrey Sokolovskiy Date: Thu, 13 Jun 2024 10:36:52 +0700 Subject: [PATCH] test --- __init__.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/__init__.py b/__init__.py index 6c90375..78ec060 100644 --- a/__init__.py +++ b/__init__.py @@ -40,10 +40,10 @@ class GitlabPipelineSkill(Skill): async def _get_help(self): return_text = f"*Help*\n" - return_text = f"{return_text}```/gitlab help - returns this help screen```\n" - return_text = f"{return_text}```/gitlab sites - returns avaiable gitlab sites```\n" - return_text = f"{return_text}```/gitlab list projects - Returns project keywords and urls```\n" - return_text = f"{return_text}```/gitlab pipeline last - Returns name, status and id for last pipeline in specific project```\n" + return_text = f"{return_text}```gitlab help - returns this help screen```\n" + return_text = f"{return_text}```gitlab sites - returns avaiable gitlab sites```\n" + return_text = f"{return_text}```gitlab list projects - Returns project keywords and urls```\n" + return_text = f"{return_text}```gitlab pipeline last - Returns name, status and id for last pipeline in specific project```\n" # return_text = f"{return_text}```gitlab update inventory - Updates inventory sources for inventory in specific project```\n" # return_text = f"{return_text}```gitlab list running jobs - Returns information about running jobs for specific project```\n" # return_text = f"{return_text}```gitlab list failed jobs - Returns information about last 5 failed jobs for specific project```\n" @@ -56,16 +56,16 @@ class GitlabPipelineSkill(Skill): # return_text = f"{return_text}```gitlab update project - Updated a project by id```\n" return return_text - @match_regex(r"^/gitlab help$") + @match_regex(r"^gitlab help$") async def list_help(self, message): help_print = await self._get_help() await message.respond(f"{help_print}") - @match_regex(r"^/gitlab sites$") + @match_regex(r"^gitlab sites$") async def list_gitlab_sites(self, message): sites_print = [i for i in self.config['sites']] await message.respond(f"{sites_print}") - @match_regex(r"^ping") + @match_regex(r"ping") async def ping(self, event): await event.respond('World')