{"id":22646891,"url":"https://github.com/johncmanuel/dndbot","last_synced_at":"2026-05-03T11:35:28.909Z","repository":{"id":234625961,"uuid":"789269091","full_name":"johncmanuel/dndbot","owner":"johncmanuel","description":"Discord helper bot to help with future DnD sessions on Discord","archived":false,"fork":false,"pushed_at":"2024-05-07T21:13:20.000Z","size":24,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-03T19:59:20.183Z","etag":null,"topics":["deno","dice-roller","discord","dnd"],"latest_commit_sha":null,"homepage":"https://dndbot.deno.dev/invite","language":"TypeScript","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/johncmanuel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-20T04:49:13.000Z","updated_at":"2024-05-07T21:13:23.000Z","dependencies_parsed_at":"2024-05-07T21:23:54.203Z","dependency_job_id":"c557c5a5-6b2e-4cae-b4a7-c57acebecd7d","html_url":"https://github.com/johncmanuel/dndbot","commit_stats":null,"previous_names":["johncmanuel/dndbot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johncmanuel%2Fdndbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johncmanuel%2Fdndbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johncmanuel%2Fdndbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johncmanuel%2Fdndbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johncmanuel","download_url":"https://codeload.github.com/johncmanuel/dndbot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246150408,"owners_count":20731419,"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":["deno","dice-roller","discord","dnd"],"created_at":"2024-12-09T07:30:53.071Z","updated_at":"2025-11-05T02:02:25.139Z","avatar_url":"https://github.com/johncmanuel.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DnD Discord Bot\n\nDiscord helper bot to help with future DnD sessions on Discord\n\n## TODO\n\n1. Make commands for most commonly used dice rolls (i.e checks, saving throws, attack rolls, etc)\n2. Refactor duplicate code\n3. Work on processing multiple, comma-separated dice expressions (i.e 3d8+2, 1d20+1, etc.)\n4. Create an auto-updating GitHub wiki page for all slash commands using a GitHub action and Discord API\n\n## Setup\n\n1. Install [Devbox](https://github.com/jetify-com/devbox)\n2. [Setup your Discord application](https://discord.com/developers/docs/intro)\n3. Setup environment variables in a `.env` file\n\n```\nDISCORD_APPLICATION_ID=\"\"\nDISCORD_PUBLIC_KEY=\"\"\nDISCORD_TOKEN=\"\"\n```\n\n4. Create an account at [ngrok](https://ngrok.com/), which will be used to expose the local development server to Discord\n5. Use `deno task ngrok` and `deno task start` in two separate terminals; one will be for ngrok and another for the server respectively\n6. Use the URL given in the `ngrok` terminal under `Forwarding` that points to localhost as the `Interactions Endpoint URL` in your Discord application (change the URL with your production URL when switching to production)\n7. Invite the bot to your server at the `/invite` endpoint and you're done :)\n\n## Commands\n\n## /dnd dice roll\n\nArguments: (dice-expression) (advantage-or-disadvantage) (comment)\n\nExample usage:\n\n```\n# The bot uses Discord's built-in slash commands\n/dnd dice roll 3d8\n/dnd dice roll 1d20+8 advantage\n/dnd dice roll 8d4+4 disadvantage\n/dnd dice roll 1d20 \"wisdom check\"\n/dnd dice roll 1d20+2 advantage \"arcana check on deciphering writing in ancient spellbook\"\n```\n\n## Credits\n\n1. [Ethan](https://github.com/EthanThatOneKid) for making a goated Deno library: [discord_app](https://github.com/EthanThatOneKid/discord_app)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohncmanuel%2Fdndbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohncmanuel%2Fdndbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohncmanuel%2Fdndbot/lists"}