{"id":17913856,"url":"https://github.com/windfarer/bot","last_synced_at":"2025-03-23T23:30:42.779Z","repository":{"id":82182126,"uuid":"89852578","full_name":"Windfarer/bot","owner":"Windfarer","description":"A stupid wechat bot, roll a dice for TRPG","archived":false,"fork":false,"pushed_at":"2017-05-23T10:40:02.000Z","size":70,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-19T00:17:53.281Z","etag":null,"topics":["bot","coc","dnd-tools","trpg","wechat","wechat-bot","weixinbot","wexin"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Windfarer.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":"2017-04-30T13:32:28.000Z","updated_at":"2023-04-05T00:23:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"7a350b60-4b88-4a44-9c5e-6480a7389781","html_url":"https://github.com/Windfarer/bot","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/Windfarer%2Fbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Windfarer%2Fbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Windfarer%2Fbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Windfarer%2Fbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Windfarer","download_url":"https://codeload.github.com/Windfarer/bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245186425,"owners_count":20574550,"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":["bot","coc","dnd-tools","trpg","wechat","wechat-bot","weixinbot","wexin"],"created_at":"2024-10-28T19:53:46.882Z","updated_at":"2025-03-23T23:30:42.767Z","avatar_url":"https://github.com/Windfarer.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bot\n一个智障的微信机器人，有很多奇奇怪怪的功能，支持在微信群中使用。\n\ndemo:\n\n![qrcode](qrcode.jpeg)\n\n## Run\n```bash\nexport HEWEATHER_KEY=\"your heweather key\"\npython bot.py\n```\n\n## Usage\n\n### 掷骰子\n给bot发如下消息可以掷骰子。适用于 TRPG 跑团 (DnD, CoC, etc.) \n\n基础用法，d 前面的数字为掷的次数，后面的数字为骰子面数，下面的即为投 2 次 6 面骰子。\n\n```\n.r 2d6\n```\n\n可以一次掷多种骰子，用加号连接即可\n\n```\n.r 1d6+1d20\n```\n\n可以增加修正值，在中间直接加减相应的数字\n\n```\n.r 1d6+5d20-10\n```\n\n可以在骰子语句后空格，然后写一句本次掷骰的用处（描述）\n\n```\n.r 1d100 群主今天女装的概率\n```\n\n### 天气及空气质量\n\n查询天气\n\n```\n.tq 上海\n```\n\n```\n.tq beijing\n```\n\n查询空气质量\n\n```\n.aqi 上海 \n```\n\n```\n.aqi beijing\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwindfarer%2Fbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwindfarer%2Fbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwindfarer%2Fbot/lists"}