{"id":21275242,"url":"https://github.com/ffreemt/nonebot-plugin-guess-game","last_synced_at":"2025-07-11T07:30:45.233Z","repository":{"id":57446619,"uuid":"343084128","full_name":"ffreemt/nonebot-plugin-guess-game","owner":"ffreemt","description":"《猜猜看》nonebot2插件（Guess a name plugin for nonebot2）","archived":false,"fork":false,"pushed_at":"2022-10-16T03:29:38.000Z","size":90,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-16T18:20:26.711Z","etag":null,"topics":["nonebot","nonebot2","plugin"],"latest_commit_sha":null,"homepage":"","language":"Python","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/ffreemt.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}},"created_at":"2021-02-28T11:07:34.000Z","updated_at":"2024-03-15T01:45:59.000Z","dependencies_parsed_at":"2022-09-02T20:50:09.455Z","dependency_job_id":null,"html_url":"https://github.com/ffreemt/nonebot-plugin-guess-game","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ffreemt%2Fnonebot-plugin-guess-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ffreemt%2Fnonebot-plugin-guess-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ffreemt%2Fnonebot-plugin-guess-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ffreemt%2Fnonebot-plugin-guess-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ffreemt","download_url":"https://codeload.github.com/ffreemt/nonebot-plugin-guess-game/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225704257,"owners_count":17511053,"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":["nonebot","nonebot2","plugin"],"created_at":"2024-11-21T09:29:02.549Z","updated_at":"2024-11-21T09:29:06.854Z","avatar_url":"https://github.com/ffreemt.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- [![tests](https://github.com/ffreemt/nonebot-plugin-guess-game/actions/workflows/routine-tests.yml/badge.svg)](https://github.com/ffreemt/nonebot-plugin-guess-game/actions/workflows/routine-tests.yml) --\u003e\n# nonebot-plugin-guess\n[![nonebot2beta](https://img.shields.io/static/v1?label=nonebot\u0026message=v2b2\u0026color=green)](https://v2.nonebot.dev/)[![onebot](https://img.shields.io/static/v1?label=driver\u0026message=onebot\u0026color=green)](https://adapter-onebot.netlify.app/)[![python](https://img.shields.io/static/v1?label=python+\u0026message=3.7%2B\u0026color=blue)](https://img.shields.io/static/v1?label=python+\u0026message=3.7%2B\u0026color=blue)[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)[![PyPI version](https://badge.fury.io/py/nonebot-plugin-guess.svg)](https://badge.fury.io/py/nonebot-plugin-guess)\n\n《猜猜看》nonebot2插件（Guess a name plugin for nonebot2）\n\nField-tested with ``nonebot 2.0.0b2``\n\n## 安装\n\n```bash\npip install nonebot-plugin-guess\n# pip install nonebot-plugin-guess -U  # 升级到最新版\n```\nor\n```bash\npoetry add nonebot-plugin-guess\n# poetry add nonebot-plugin-guess@latest   # 升级到最新版\n```\nor\n```\npoetry add git+https://github.com/ffreemt/nonebot-plugin-guess-game.git\n```\nor\n```\npip install git+https://github.com/ffreemt/nonebot-plugin-guess-game.git\n```\nor clone [https://github.com/ffreemt/nonebot-plugin-guess-game](https://github.com/ffreemt/nonebot-plugin-guess-game) and install from the repo.\n\n## 使用\n```python\n# bot.py\n...\nnonebot.load_plugin(\"nonebot_plugin_guess\")\n...\n```\n然后在机器人所在的群里或给机器人发私信 `/guess` （或cai, 猜猜看, 猜）即可开始“猜猜看”游戏。\n\n### 定制\n\n插件自带的游戏数据仅限“猜城市名” 及固定的城市名：\"上海\", \"北京\", \"广州\", \"深圳\", \"香港\", \"雅典\", \"西安\", \"长沙\", \"多伦多\", \"旧金山\", \"Zurich\", \"约翰内斯堡\"; 最多猜的次数： 4\n\n如需自己定制游戏，可在`.env` 里加入：\n```bash\n# .env\nguess_name = \"人名\"\nguess_max = 3\nguess_name_list = [\"贾宝玉\", \"林黛玉\"，]\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fffreemt%2Fnonebot-plugin-guess-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fffreemt%2Fnonebot-plugin-guess-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fffreemt%2Fnonebot-plugin-guess-game/lists"}