A script that posts a daily quote and image to Discord via webhook.
- Install deno
- Create a new Discord webhook, copy URL, and update
webhookURL
value. - Create a Pexels account, generate an API key, and update
pexelsAPIKey
value.
- Manually run
deno run --allow-net daily-quote.ts
- Compile with
deno compile --unstable --allow-net daily-quote.ts
and set up a cronjob targeting the compiled script.