From d98a243569d38136962389825d6fe357ce8e51cc Mon Sep 17 00:00:00 2001 From: Techbot121 Date: Wed, 22 May 2024 22:58:22 +0200 Subject: [PATCH] map another repo --- app/services/discord/modules/webhook-handler.ts | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/app/services/discord/modules/webhook-handler.ts b/app/services/discord/modules/webhook-handler.ts index 169cc071..14a8b476 100644 --- a/app/services/discord/modules/webhook-handler.ts +++ b/app/services/discord/modules/webhook-handler.ts @@ -15,20 +15,6 @@ const GitHub = new Webhooks({ secret: webhookConfig.github.secret, }); -// todo: maybe there is a better way for this? -// const PublicCommits = new Discord.WebhookClient({ -// url: webhookConfig.webhookUrls.public.commits, -// }); -// const PrivateCommits = new Discord.WebhookClient({ -// url: webhookConfig.webhookUrls.private.commits, -// }); -// const MappingCommits = new Discord.WebhookClient({ -// url: webhookConfig.webhookUrls.public.mapping, -// }); -// const TestCommits = new Discord.WebhookClient({ -// url: webhookConfig.webhookUrls.private.test, -// }); - const BaseEmbed = { allowedMentions: { parse: ["users"] }, }; @@ -243,6 +229,7 @@ export default (bot: DiscordBot): void => { ["terrortown_modding", [3]], ["MTA-Gamemode", [3]], ["TTT2", [3]], + ["Lumiens-Map-Vote", [3]], ]; GitHub.on("push", async event => {