https://github.com/walshydev/cf-worker-discord-interactions
Example repo showing how to use Discord interactions (slash commands) on Cloudflare Workers
https://github.com/walshydev/cf-worker-discord-interactions
Last synced: 2 months ago
JSON representation
Example repo showing how to use Discord interactions (slash commands) on Cloudflare Workers
- Host: GitHub
- URL: https://github.com/walshydev/cf-worker-discord-interactions
- Owner: WalshyDev
- License: mit
- Created: 2020-12-27T09:43:24.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2020-12-27T09:51:25.000Z (over 4 years ago)
- Last Synced: 2025-01-01T13:43:28.965Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 11.7 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CF-Worker-Discord-Interactions
Example repo showing how to use interactions on Cloudflare WorkersThis is using [Cloudflare Workers](https://workers.cloudflare.com/), [Webpack](https://webpack.js.org/) and I also used [cloudworker](https://github.com/dollarshaveclub/cloudworker) to locally test.
This was not tested extensively or made very well so please just use this as a base.
## How to build
Make sure you have installed the packages and webpakc. Then simply run `webpack` and your JS code is in `dist/main.js`.
Just put that code into your Cloudflare Worker and point the application to the worker URL.