Skip to content

hay-espacio-en-el-taco/discord-waifu-of-the-day

Repository files navigation

Build

Publish to Discord

discord-waifu-of-the-day

Little app for scrap https://mywaifulist.moe/ and get the Waifu of the day section and publish in a discord text channel.

How to run

  1. Create a web hook in your discord server.
  • Go in a channel properties (Alternatively, Server Settings, Webhooks works too)
  • Click Webhooks
  • Click Create Webhook
  • Type in a name
  • Copy the Webhook URL (you can use the Copy button)
  • Click Save
  1. Copy .env template and rename it as .env paste the webhook url here.
  • if you want to run in a CI or something like that set a env variable WEB_HOOK_URL with your Webhook URL as a value
  1. run npm run dev

Run without Headless mode

If you are running and debuggin locally probably you want to see step by step what's going on with the script, in that case change:

const browser = await puppeteer.launch(); to const browser = await puppeteer.launch({headless:false, args: ['--start-maximized'] });

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published