{"id":15647340,"url":"https://github.com/siketyan/stateless-discord-bot","last_synced_at":"2025-04-30T12:41:24.575Z","repository":{"id":38336115,"uuid":"323680131","full_name":"siketyan/stateless-discord-bot","owner":"siketyan","description":"An example of stateless Discord Bot using Slash Commands feature and Cloudflare Workers.","archived":false,"fork":false,"pushed_at":"2023-01-20T22:19:08.000Z","size":69,"stargazers_count":47,"open_issues_count":2,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-20T05:58:08.063Z","etag":null,"topics":["cloudflare-worker","discord-bot","slash-commands"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/siketyan.png","metadata":{"funding":{"github":"siketyan","patreon":"siketyan"},"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-22T16:37:50.000Z","updated_at":"2025-02-07T10:38:45.000Z","dependencies_parsed_at":"2023-02-12T06:01:29.650Z","dependency_job_id":null,"html_url":"https://github.com/siketyan/stateless-discord-bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siketyan%2Fstateless-discord-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siketyan%2Fstateless-discord-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siketyan%2Fstateless-discord-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siketyan%2Fstateless-discord-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/siketyan","download_url":"https://codeload.github.com/siketyan/stateless-discord-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251701963,"owners_count":21629925,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloudflare-worker","discord-bot","slash-commands"],"created_at":"2024-10-03T12:18:40.103Z","updated_at":"2025-04-30T12:41:24.550Z","avatar_url":"https://github.com/siketyan.png","language":"Rust","funding_links":["https://github.com/sponsors/siketyan","https://patreon.com/siketyan"],"categories":[],"sub_categories":[],"readme":"# 🧲 Stateless Discord Bot\n![Rust](https://github.com/siketyan/stateless-discord-bot/workflows/Rust/badge.svg)\n![Rust](https://github.com/siketyan/stateless-discord-bot/workflows/Wrangler/badge.svg)\n\nAn example of stateless Discord Bot using Slash Commands feature and Cloudflare Workers.\n\n## ✨ Features\n- 🦀 Using Rust (with WebAssembly)!\n- 🔌 You can create a **stateless** Discord Bot\n- 🛠 Of course it is serverless\n- 💰 Free for 100,000 requests with Cloudflare Workers\n\n## 📦 Installation\n1. Clone this repository.\n2. Copy `wrangler.example.toml`, then rename it to `wranger.toml` .\n3. Edit the file, filling `account_id` and `vars.PUBLIC_KEY` .\n4. Deploy using `wrangler publish` .\n5. Register your endpoint at Discord Developer Portal.\n6. Create an application command. For example:\n   ```console\n   $ curl \\\n     -H \"Authorization: Bot ${DISCORD_BOT_TOKEN}\" \\\n     -H \"Content-Type: application/json\" \\\n     -d '{\"name\":\"hello\",\"description\":\"The bot will say \\\"Hello, world!\\\".\"}' \\\n     \"https://discord.com/api/v8/applications/${APPLICATION_ID}/commands\"\n   ```\n8. Done!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiketyan%2Fstateless-discord-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsiketyan%2Fstateless-discord-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiketyan%2Fstateless-discord-bot/lists"}