From 2575817379588b0b2d960b6cd1030aa7f3909657 Mon Sep 17 00:00:00 2001 From: Kingsley Victor Date: Thu, 31 Oct 2024 21:02:06 +0100 Subject: [PATCH 1/2] chore: update manifest --- manifest.json | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/manifest.json b/manifest.json index a6f2a10..218d3e9 100644 --- a/manifest.json +++ b/manifest.json @@ -1,9 +1,7 @@ { "name": "ts-template", "description": "ts-template for UbiquityOS plugins.", - "ubiquity:listeners": [ - "issue_comment.created" - ], + "ubiquity:listeners": ["issue_comment.created", "issue_comment.deleted", "issue_comment.edited"], "commands": { "command1": { "ubiquity:example": "/command1 argument", @@ -23,8 +21,6 @@ "type": "string" } }, - "required": [ - "configurableResponse" - ] + "required": ["configurableResponse"] } -} \ No newline at end of file +} From 2415e7573dcab8c3331cb224bc17e9e9e901ccd2 Mon Sep 17 00:00:00 2001 From: Kingsley Victor Date: Thu, 31 Oct 2024 21:10:13 +0100 Subject: [PATCH 2/2] chore: update manifest --- src/types/context.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/context.ts b/src/types/context.ts index 0a59f93..415eb70 100644 --- a/src/types/context.ts +++ b/src/types/context.ts @@ -9,7 +9,7 @@ import { Logs } from "@ubiquity-dao/ubiquibot-logger"; * * ubiquity:listeners: ["issue_comment.created", ...] */ -export type SupportedEventsU = "issue_comment.created"; +export type SupportedEventsU = "issue_comment.created" | "issue_comment.deleted" | "issue_comment.edited"; export type SupportedEvents = { [K in SupportedEventsU]: K extends WebhookEventName ? WebhookEvent : never;