Slide 15
Slide 15 text
ίʔυ
import { IncomingWebhook } from "@slack/webhook";
export const handler = async (event) => {
const webhook = new IncomingWebhook(process.env.SLACK_WEBHOOK_URL);
const payload = {
text: "Ϙλϯ͕ԡ͞Ε·ͨ͠ʂ"
};
const response = await webhook.send(payload);
return response;
};