Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

πŸ” 톡합 λ‰΄μŠ€λ ˆν„° URL 적용 #1

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/dev-pill.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const sendDevPill = async () => {
}

const webhookClient = new WebhookClient({
url: process.env.DEV_PILL_WEBHOOK ?? ""
url: process.env.NEWS_LETTER_WEBHOOK ?? ""
});

for (const news of filteredList.reverse()) {
Expand Down
2 changes: 1 addition & 1 deletion src/eo-planet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const sendEOPlanet = async () => {
}

const webhookClient = new WebhookClient({
url: process.env.EO_PLANET_WEBHOOK ?? ""
url: process.env.NEWS_LETTER_WEBHOOK ?? ""
});

for (const news of filteredList.reverse()) {
Expand Down
2 changes: 1 addition & 1 deletion src/fe-news.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export const sendFENews = async () => {
}

const webhookClient = new WebhookClient({
url: process.env.FE_NEWS_WEBHOOK ?? ""
url: process.env.NEWS_LETTER_WEBHOOK ?? ""
});

for (const news of filteredList.reverse()) {
Expand Down
2 changes: 1 addition & 1 deletion src/leaders-compass.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const sendLeadersCompass = async () => {
}

const webhookClient = new WebhookClient({
url: process.env.LEADERS_COMPASS_WEBHOOK ?? ""
url: process.env.NEWS_LETTER_WEBHOOK ?? ""
});

for (const news of filteredList.reverse()) {
Expand Down
2 changes: 1 addition & 1 deletion src/product-lab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const sendProductLab = async () => {
}

const webhookClient = new WebhookClient({
url: process.env.PRODUCT_LAB_WEBHOOK ?? ""
url: process.env.NEWS_LETTER_WEBHOOK ?? ""
});

for (const news of filteredList.reverse()) {
Expand Down
2 changes: 1 addition & 1 deletion src/tipster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export const sendTipster = async () => {
}

const webhookClient = new WebhookClient({
url: process.env.TIPSTER_WEBHOOK ?? ""
url: process.env.NEWS_LETTER_WEBHOOK ?? ""
});

for (const news of filteredList.reverse()) {
Expand Down
2 changes: 1 addition & 1 deletion src/yozm-design.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const sendDesignYozm = async () => {
}

const webhookClient = new WebhookClient({
url: process.env.YOZM_WEBHOOK ?? ""
url: process.env.NEWS_LETTER_WEBHOOK ?? ""
});

const embeds = filteredList.reverse().map((news) =>
Expand Down
2 changes: 1 addition & 1 deletion src/yozm-develop.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const sendDevelopYozm = async () => {
}

const webhookClient = new WebhookClient({
url: process.env.YOZM_WEBHOOK ?? ""
url: process.env.NEWS_LETTER_WEBHOOK ?? ""
});

const embeds = filteredList.reverse().map((news) =>
Expand Down
2 changes: 1 addition & 1 deletion src/yozm-pm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const sendPMYozm = async () => {
}

const webhookClient = new WebhookClient({
url: process.env.YOZM_WEBHOOK ?? ""
url: process.env.NEWS_LETTER_WEBHOOK ?? ""
});

const embeds = filteredList.reverse().map((news) =>
Expand Down
5 changes: 2 additions & 3 deletions src/yozm-product.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import "dotenv/config";
import axios, { AxiosResponse } from "axios";
import * as cheerio from "cheerio";
import { EmbedBuilder, WebhookClient } from "discord.js";
import "dotenv/config";
import { News } from "./news";
import dayjs from "dayjs";
import { getJSON, setJSON } from "./utils/json-utils";

interface LastYozmProductNews {
Expand Down Expand Up @@ -68,7 +67,7 @@ export const sendProductYozm = async () => {
}

const webhookClient = new WebhookClient({
url: process.env.YOZM_WEBHOOK ?? ""
url: process.env.NEWS_LETTER_WEBHOOK ?? ""
});

const embeds = filteredList.reverse().map((news) =>
Expand Down
Loading