From e185d581c46c5d9d4cacb7fd3d0c414408ca06db Mon Sep 17 00:00:00 2001 From: HitomaruKonpaku Date: Sun, 13 Oct 2024 07:00:36 +0700 Subject: [PATCH] Format --- docker/Dockerfile | 2 +- src/modules/Webhook.ts | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 7ac7649..1e2391d 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -41,4 +41,4 @@ RUN chmod a+rx /usr/local/bin/yt-dlp COPY --from=dependencies /app/node_modules ./node_modules COPY --from=builder /app/dist ./dist -CMD [ "/sbin/tini", "--", "node", "dist/index" ] +ENTRYPOINT [ "/sbin/tini", "--", "node", "dist/index" ] diff --git a/src/modules/Webhook.ts b/src/modules/Webhook.ts index a73ffe6..77faa6a 100644 --- a/src/modules/Webhook.ts +++ b/src/modules/Webhook.ts @@ -9,14 +9,16 @@ import { configManager } from './ConfigManager' interface WebhookConfig { active?: boolean + urls?: string[] - twitcasting?: string[] - youtube?: string[] message?: string mentions?: { userIds?: string roleIds?: string } + + twitcasting?: string[] + youtube?: string[] } export class Webhook {