Skip to content

nwunderly/xkcd-bot

Repository files navigation

xkcd bot - Cloudflare Worker

A simple bot for searching xkcd comics.

Invite the bot!

Setup

  1. Make an application on Discord's developer portal
  2. Copy the public key as shown on the application page, and paste it in verify.ts under const publicKey
  3. If you haven't already, install Wrangler
  4. Run npm install
  5. Login to Cloudflare, and set assosiated variables in wrangler.toml
  6. Run wrangler publish once you're ready to upload your worker to Cloudflare