{"id":17598238,"url":"https://github.com/potch/dicecord","last_synced_at":"2025-03-29T20:40:51.538Z","repository":{"id":137438733,"uuid":"339966561","full_name":"potch/dicecord","owner":"potch","description":null,"archived":false,"fork":false,"pushed_at":"2021-02-19T04:19:12.000Z","size":20,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-04T21:34:00.875Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/potch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-02-18T07:14:27.000Z","updated_at":"2021-05-12T10:36:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"eb36630a-a695-4631-a4ff-9c13d49ab967","html_url":"https://github.com/potch/dicecord","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/potch%2Fdicecord","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/potch%2Fdicecord/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/potch%2Fdicecord/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/potch%2Fdicecord/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/potch","download_url":"https://codeload.github.com/potch/dicecord/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246243564,"owners_count":20746307,"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":[],"created_at":"2024-10-22T09:44:47.632Z","updated_at":"2025-03-29T20:40:51.515Z","avatar_url":"https://github.com/potch.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dicecord\n\nbare-bones dice-rolling discord bot.\n\n## Setup\n\n- requires Node LTS and npm\n- `npm install` to get needed dependencies\n- copy `.env.sample` to `.env`\n- [create a discord application](https://discord.com/developers/applications)\n- add a Bot user to the application\n- copy the application's client ID and the bot's auth token into `.env`\n- `npm start` to start the bot\n- when running successfully, will log the URL to install the bot on your server\n\n## Dice Syntax\n\nthe bot watches for messages starting with `/r `. Here are some examples:\n\n- `/r d20` - roll a d20 die\n- `/r 2d6` - roll 2 d6 dice, and return the sum of the rolls\n- `/r 2d8 + 3` - roll 2 d8 dice and add 3 to the sum of the rolls\n- `/r 2d6k1` - roll 2 d6, and keep only the highest roll\n- `/r 3d20k-1` - roll 3d20 and return only the _lowest_ roll.\n- `/r 10d4k-3 + 5` - roll 10 d4, keep only the lowest 3 rolls, and add 5 to the result\n\nlimited to a max of 20 dice, and dice with 1000 sides\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpotch%2Fdicecord","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpotch%2Fdicecord","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpotch%2Fdicecord/lists"}