Skip to content

Commit

Permalink
map another repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Techbot121 authored and Meta Construct committed May 22, 2024
1 parent b4e923d commit d98a243
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions app/services/discord/modules/webhook-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = <Discord.WebhookMessageCreateOptions>{
allowedMentions: { parse: ["users"] },
};
Expand Down Expand Up @@ -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 => {
Expand Down

0 comments on commit d98a243

Please sign in to comment.