{"id":16736174,"url":"https://github.com/edloidas/rollrobot","last_synced_at":"2026-03-07T09:33:13.682Z","repository":{"id":148287288,"uuid":"58739129","full_name":"edloidas/rollrobot","owner":"edloidas","description":"A Telegram bot that can roll the dice like no one before.","archived":false,"fork":false,"pushed_at":"2022-12-08T18:00:08.000Z","size":272,"stargazers_count":13,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T12:47:10.801Z","etag":null,"topics":["dice","inline","roll","telegram","telegram-bot"],"latest_commit_sha":null,"homepage":"rollrobot.vercel.app","language":"JavaScript","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/edloidas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2016-05-13T12:38:58.000Z","updated_at":"2024-02-12T16:58:33.000Z","dependencies_parsed_at":"2023-05-26T18:00:40.746Z","dependency_job_id":null,"html_url":"https://github.com/edloidas/rollrobot","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/edloidas/rollrobot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edloidas%2Frollrobot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edloidas%2Frollrobot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edloidas%2Frollrobot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edloidas%2Frollrobot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edloidas","download_url":"https://codeload.github.com/edloidas/rollrobot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edloidas%2Frollrobot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30210852,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T09:02:10.694Z","status":"ssl_error","status_checked_at":"2026-03-07T09:02:08.429Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["dice","inline","roll","telegram","telegram-bot"],"created_at":"2024-10-13T00:08:33.866Z","updated_at":"2026-03-07T09:33:13.665Z","avatar_url":"https://github.com/edloidas.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Roll Robot\n==========\n\n[![https://telegram.me/rollrobot](https://img.shields.io/badge/💬%20Telegram-rollrobot-blue.svg)](https://telegram.me/rollrobot)\n[![https://telegram.me/edloidas](https://img.shields.io/badge/💬%20Telegram-edloidas-blue.svg)](https://telegram.me/edloidas)\n\n\u003e A Telegram bot that can roll the dice like no one before.\n\n## About ##\n\nRoll Robot is a telegram bot used for common \"roll the dice\" purposes which is working on group chats.\n\n## Description ##\n\nRoll the dice like no one before. Generate random numbers by default RPG pattern (x)d(y)±(n).\n\nBot recognizes several commands and can be used in inline mode:\n\n@rollrobot [notation] -- inline request, recognizes both notations\n/roll [notation] -- default roll, recognizes both notations\n/full [notation] -- same to '/roll', but shows roll for each dice\n/random -- 'd100' roll\n\n#### Notation: ####\n1. Classic\u003cbr/\u003e\n    `[count]d[dice]±[modifier]`\n2. World of Darkness\u003cbr/\u003e\n    `[count]d[dice][!]\u003e[success]f[fail]`\n3. Simplfied (classic, space separated)\u003cbr/\u003e\n    `[count] [dice] [modifier]`\n4. Single-valued\u003cbr/\u003e\n    `[dice]`\nwhere ...\n  * `count` -- number of rolls\n  * `dice` -- dice type\n  * `modifier` -- value, that will be added or subtracted from result\n  * `!` -- sign, indicating to repeat\n  * `success` -- minimum roll value, that counts as success\n  * `fail` -- maximum roll value, that counts as fail\n\n#### Examples: ####\n`/roll 20` ➜ 'd20'\u003cbr/\u003e\n`/roll 2 10 -1` ➜ result of '2d10-1'\u003cbr/\u003e\n`/roll 4d8+3` ➜ result of '4d8+3'\u003cbr/\u003e\n`/wod 6d10!\u003e6f1` ➜ number of successes for '6d10!\u003e6f1'\u003cbr/\u003e\n`/random` ➜ 'd100'\n\n[Rate](https://telegram.me/storebot?start=rollrobot) the bot, if you like it.\n\nYour ideas on improvement are welcome.\n\n## Configuration ##\n\nDeployed on [Vercel](https://heroku.com).\n\n* Set the `Config Variables` from the app settings in the dashboard to access them from `process.env.*`.\n\n| KEY   | VALUE     | DESCRIPTION |\n| ----- | --------- | ----------- |\n| TOKEN | `$TOKEN`  | Token, generated by the BotFather. |\n| PORT  | 443       | Can be any of `[ 443, 80, 88, 8443 ]`. See [API](https://core.telegram.org/bots/api#setwebhook). |\n| HOST  | 0.0.0.0   | Any IP |\n| URL   | https://appname.vercell.app | `appname` is your app name on Vercel |\n\n* Set the WebHook with the Telegram. Simply replace the variables in link and open it: https://api.telegram.org/bot{TOKEN}/setWebhook?url={URL}\n\n* Receive the following response: `{\"ok\":true,\"result\":true,\"description\":\"Webhook was set\"}`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedloidas%2Frollrobot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedloidas%2Frollrobot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedloidas%2Frollrobot/lists"}