Caution
I no longer own the nextcord.gay
domain. https://nextcord-gay.ooliver.workers.dev has been kept up as it does not cost me anything.
Warning
This has now been archived. I was not willing to pay $30 to renew this domain (it was $8 for the first year), so this has come to its graceful end.
A cloudflare worker to use the user-agent for rickrolling without a discord embed
npm run build
- Find the output in
./dist/worker.mjs
(module syntax)
- Make a
.env
file based off the.env.example
file - valid URL and ID npn run dev
- Visit https://localhost:8787/
npm run test
.github/
- GitHub workflow scripts and configuration./src/
- Source codeindex.ts
- Main entry point*.ts
- Other importable files, not used directly
./test/
- Testsglobals.d.ts
- Globals found with the miniflare test environmenttsconfig.json
- TypeScript configuration for test types*.test.ts
- Test files for the relevant files
./types/
- Type declarationsdomains.d.ts
- Domains interface fordomains.ts
env.d.ts
- Global environment variables found in theenv
namespace
.env.example
- Example environment variables.gitignore
- Git ignore filebuild.js
- Build script usingesbuild
jest.config.js
- Configuration for jest in./tests
LICENSE
-MIT
license filepackage-lock.json
-npm
lock filepackage.json
-npm
package fileREADME.md
- Hitsconfig.json
- TypeScript configuration for the projectwrangler.toml
- Config for wrangler - Cloudflare Workers CLI