Skip to content

narumincho/notion-to-discord

Repository files navigation

notion-to-discord

build

deno run -A --allow-write=./dist.json --check ./build.ts

run

startInLocal.ts

import { startServer } from "./main.tsx";

startServer({
  notionIntegrationSecret: "secret_xxx",
  discordWebHookUrl: "https://discord.com/api/webhooks/000/xxx",
});
deno run --unstable --allow-net=:8000,api.notion.com,discord.com --watch --check ./startInLocal.ts

notificationToDiscord

notificationToDiscordInLocal.ts

import { notificationToDiscord } from "./main.tsx";

notificationToDiscord({
  notionIntegrationSecret: "secret_xxx",
  discordWebHookUrl: "https://discord.com/api/webhooks/000/xxx",
});
deno run --allow-net=api.notion.com,discord.com --check ./notificationToDiscordInLocal.ts

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published