Announce when new episodes (in french) are available from ADN and Crunchyroll
- wrangler
$ git clone "https://github.com/retouching/french-anime-scheduler.git"
$ cd french-anime-scheduler
$ npx wrangler push
name = "french-anime-scheduler"
workers_dev = false
main = "src/index.ts"
compatibility_date = "2023-06-05"
kv_namespaces = [
{ binding = "DB", id = "xxx" }
]
[vars]
WEBHOOK_URL = "https://discord.com/api/webhooks/xxx/xxx"
MENTIONS = "xxx,xxx"
[triggers]
crons = ["1,6,11,16,21,26,31,36,41,46,51,56 * * * *"]
name
: Name in cloudflare workers panel
workers_dev
: Enable RSS page
kv_namespaces
: DB to use, you can generate an id token with:
$ wrangler kv:namespace create [DBNAME]
and copy id to config
WEBHOOK_URL
: Webhook to use for sending new episodes
MENTIONS
: Roles to mention, separate with a coma. (Empty string if no mention needed)
- This project is not approved by ADN and Crunchyroll