nonebot-plugin-werewolf 1.1.11__py3-none-any.whl → 1.1.13__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. nonebot_plugin_werewolf/__init__.py +1 -1
  2. nonebot_plugin_werewolf/config.py +51 -37
  3. nonebot_plugin_werewolf/constant.py +0 -17
  4. nonebot_plugin_werewolf/dead_channel.py +79 -0
  5. nonebot_plugin_werewolf/game.py +46 -115
  6. nonebot_plugin_werewolf/matchers/_prepare_game.py +223 -0
  7. nonebot_plugin_werewolf/matchers/depends.py +2 -2
  8. nonebot_plugin_werewolf/matchers/edit_behavior.py +1 -0
  9. nonebot_plugin_werewolf/matchers/edit_preset.py +14 -12
  10. nonebot_plugin_werewolf/matchers/message_in_game.py +1 -1
  11. nonebot_plugin_werewolf/matchers/poke/chronocat_poke.py +3 -3
  12. nonebot_plugin_werewolf/matchers/poke/ob11_poke.py +3 -3
  13. nonebot_plugin_werewolf/matchers/start_game.py +20 -232
  14. nonebot_plugin_werewolf/matchers/superuser_ops.py +5 -8
  15. nonebot_plugin_werewolf/models.py +19 -0
  16. nonebot_plugin_werewolf/player.py +35 -31
  17. nonebot_plugin_werewolf/players/guard.py +2 -2
  18. nonebot_plugin_werewolf/players/prophet.py +2 -2
  19. nonebot_plugin_werewolf/players/shooter.py +2 -2
  20. nonebot_plugin_werewolf/players/werewolf.py +18 -19
  21. nonebot_plugin_werewolf/players/witch.py +4 -4
  22. nonebot_plugin_werewolf/utils.py +18 -56
  23. {nonebot_plugin_werewolf-1.1.11.dist-info → nonebot_plugin_werewolf-1.1.13.dist-info}/METADATA +71 -41
  24. nonebot_plugin_werewolf-1.1.13.dist-info/RECORD +37 -0
  25. {nonebot_plugin_werewolf-1.1.11.dist-info → nonebot_plugin_werewolf-1.1.13.dist-info}/WHEEL +1 -1
  26. nonebot_plugin_werewolf-1.1.11.dist-info/RECORD +0 -35
  27. {nonebot_plugin_werewolf-1.1.11.dist-info → nonebot_plugin_werewolf-1.1.13.dist-info}/licenses/LICENSE +0 -0
  28. {nonebot_plugin_werewolf-1.1.11.dist-info → nonebot_plugin_werewolf-1.1.13.dist-info}/top_level.txt +0 -0
@@ -2,7 +2,7 @@ from typing_extensions import override
2
2
 
3
3
  from nonebot_plugin_alconna.uniseg import UniMessage
4
4
 
5
- from ..constant import stop_command_prompt
5
+ from ..config import stop_command_prompt
6
6
  from ..models import Role, RoleGroup
7
7
  from ..player import InteractProvider, Player
8
8
  from ..utils import as_player_set
@@ -28,7 +28,7 @@ class WitchInteractProvider(InteractProvider["Witch"]):
28
28
  await self.p.send(msg.text("⚙️你已经用过解药了"))
29
29
  return False
30
30
 
31
- msg.text(f"✏️使用解药请发送 “1”\n❌不使用解药请发送 “{stop_command_prompt()}”")
31
+ msg.text(f"✏️使用解药请发送 “1”\n❌不使用解药请发送 “{stop_command_prompt}”")
32
32
  await self.p.send(
33
33
  msg,
34
34
  stop_btn_label="不使用解药",
@@ -38,7 +38,7 @@ class WitchInteractProvider(InteractProvider["Witch"]):
38
38
  if not await self.p.select_player(
39
39
  as_player_set(killed),
40
40
  on_stop=f"ℹ️你选择不对 {killed.name} 使用解药",
41
- on_index_error=f"⚠️输入错误: 请输入 “1” 或 “{stop_command_prompt()}”",
41
+ on_index_error=f"⚠️输入错误: 请输入 “1” 或 “{stop_command_prompt}”",
42
42
  stop_btn_label="不使用解药",
43
43
  ):
44
44
  return False
@@ -64,7 +64,7 @@ class WitchInteractProvider(InteractProvider["Witch"]):
64
64
  "玩家列表:\n"
65
65
  f"{players.show()}\n\n"
66
66
  "🧪发送玩家编号使用毒药\n"
67
- f"❌发送 “{stop_command_prompt()}” 结束回合(不使用药水)",
67
+ f"❌发送 “{stop_command_prompt}” 结束回合(不使用药水)",
68
68
  stop_btn_label="结束回合",
69
69
  select_players=players,
70
70
  )
@@ -6,7 +6,6 @@ from collections.abc import Iterable
6
6
  from typing import TYPE_CHECKING, Any, ClassVar, Generic, ParamSpec, TypeVar
7
7
 
8
8
  import anyio
9
- import anyio.streams.memory
10
9
  from nonebot.adapters import Bot, Event
11
10
  from nonebot.internal.matcher import current_bot
12
11
  from nonebot_plugin_alconna.uniseg import (
@@ -19,8 +18,8 @@ from nonebot_plugin_alconna.uniseg import (
19
18
  )
20
19
  from nonebot_plugin_uninfo import Session
21
20
 
22
- from .config import config
23
- from .constant import STOP_COMMAND, stop_command_prompt
21
+ from .config import config, stop_command_prompt
22
+ from .constant import STOP_COMMAND
24
23
 
25
24
  if TYPE_CHECKING:
26
25
  from .player import Player
@@ -118,55 +117,7 @@ def as_player_set(*player: "Player") -> "PlayerSet":
118
117
  return cached_player_set()(player)
119
118
 
120
119
 
121
- class ObjectStream(Generic[T]):
122
- class Unset: ...
123
-
124
- __UNSET: ClassVar[Unset] = Unset()
125
-
126
- _send: anyio.streams.memory.MemoryObjectSendStream[T]
127
- _recv: anyio.streams.memory.MemoryObjectReceiveStream[T]
128
- _closed: anyio.Event
129
-
130
- def __init__(self, max_buffer_size: float = 0) -> None:
131
- self._send, self._recv = anyio.create_memory_object_stream(max_buffer_size)
132
- self._closed = anyio.Event()
133
-
134
- async def send(self, obj: T) -> None:
135
- await self._send.send(obj)
136
-
137
- async def recv(self) -> T:
138
- result: Any = self.__UNSET
139
-
140
- async def _recv() -> None:
141
- nonlocal result
142
- result = await self._recv.receive()
143
- tg.cancel_scope.cancel()
144
-
145
- async def _cancel() -> None:
146
- await self._closed.wait()
147
- tg.cancel_scope.cancel()
148
-
149
- async with anyio.create_task_group() as tg:
150
- tg.start_soon(_recv)
151
- tg.start_soon(_cancel)
152
-
153
- if result is self.__UNSET:
154
- raise anyio.EndOfStream
155
-
156
- return result
157
-
158
- def close(self) -> None:
159
- self._closed.set()
160
-
161
- @property
162
- def closed(self) -> bool:
163
- return self._closed.is_set()
164
-
165
- async def wait_closed(self) -> None:
166
- await self._closed.wait()
167
-
168
-
169
- def _btn(label: str, text: str, /) -> Button:
120
+ def btn(label: str, text: str, /) -> Button:
170
121
  return Button(flag="input", label=label, text=text)
171
122
 
172
123
 
@@ -174,8 +125,8 @@ def add_stop_button(msg: str | UniMessage, label: str | None = None) -> UniMessa
174
125
  if isinstance(msg, str):
175
126
  msg = UniMessage.text(msg)
176
127
 
177
- stop = stop_command_prompt()
178
- return msg.keyboard(_btn(label or stop, stop))
128
+ stop = stop_command_prompt
129
+ return msg.keyboard(btn(label or stop, stop))
179
130
 
180
131
 
181
132
  def add_players_button(msg: str | UniMessage, players: "PlayerSet") -> UniMessage:
@@ -184,7 +135,7 @@ def add_players_button(msg: str | UniMessage, players: "PlayerSet") -> UniMessag
184
135
 
185
136
  it = enumerate(players, 1)
186
137
  while line := tuple(itertools.islice(it, 3)):
187
- msg.keyboard(*(_btn(p.name, str(i)) for i, p in line))
138
+ msg.keyboard(*(btn(p.name, str(i)) for i, p in line))
188
139
  return msg
189
140
 
190
141
 
@@ -207,6 +158,15 @@ class SendHandler(abc.ABC, Generic[P]):
207
158
  self.bot = bot or current_bot.get()
208
159
  self.target = target
209
160
 
161
+ @functools.cached_property
162
+ def _is_dc(self) -> bool:
163
+ try:
164
+ from nonebot.adapters.discord import Bot
165
+ except ImportError:
166
+ return False
167
+
168
+ return isinstance(self.bot, Bot)
169
+
210
170
  async def _edit(self) -> None:
211
171
  last = self.last_receipt
212
172
  if (
@@ -214,6 +174,7 @@ class SendHandler(abc.ABC, Generic[P]):
214
174
  and self.last_msg is not None
215
175
  and last is not None
216
176
  and last.editable
177
+ and not self._is_dc
217
178
  ):
218
179
  await last.edit(self.last_msg.exclude(Keyboard))
219
180
 
@@ -221,7 +182,8 @@ class SendHandler(abc.ABC, Generic[P]):
221
182
  if self.target is None:
222
183
  raise RuntimeError("Target cannot be None when sending a message.")
223
184
 
224
- if not config.enable_button:
185
+ if not config.enable_button or self._is_dc:
186
+ # TODO: support discord button
225
187
  message = message.exclude(Keyboard)
226
188
  receipt = await message.send(
227
189
  target=self.target,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nonebot-plugin-werewolf
3
- Version: 1.1.11
3
+ Version: 1.1.13
4
4
  Summary: 适用于 Nonebot2 的狼人杀插件
5
5
  Author-email: wyf7685 <wyf7685@163.com>
6
6
  License: MIT
@@ -11,9 +11,9 @@ Requires-Python: >=3.10
11
11
  Description-Content-Type: text/markdown
12
12
  License-File: LICENSE
13
13
  Requires-Dist: nonebot2>=2.4.0
14
- Requires-Dist: nonebot-plugin-alconna>=0.57.0
14
+ Requires-Dist: nonebot-plugin-alconna>=0.58.0
15
15
  Requires-Dist: nonebot-plugin-localstore>=0.7.1
16
- Requires-Dist: nonebot-plugin-uninfo>=0.7.3
16
+ Requires-Dist: nonebot-plugin-uninfo>=0.8.0
17
17
  Requires-Dist: nonebot-plugin-waiter>=0.8.0
18
18
  Requires-Dist: anyio>=4.6.0
19
19
  Dynamic: license-file
@@ -50,6 +50,22 @@ _✨ 简单的狼人杀插件 ✨_
50
50
 
51
51
  和朋友们来一场紧张刺激的狼人杀游戏
52
52
 
53
+ <!-- ref: https://github.com/KomoriDev/Starify -->
54
+
55
+ > [!IMPORTANT]
56
+ >
57
+ > **收藏项目**,你将从 GitHub 上无延迟地接收所有发布通知~ ⭐️
58
+
59
+ <img width="100%" src="https://starify.komoridevs.icu/api/starify?owner=wyf7685&repo=nonebot-plugin-werewolf" alt="starify" />
60
+
61
+ <details>
62
+ <summary><kbd>Star History</kbd></summary>
63
+ <picture>
64
+ <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=wyf7685/nonebot-plugin-werewolf&theme=dark&type=Date" />
65
+ <img width="100%" src="https://star-history.com/#wyf7685/nonebot-plugin-werewolf&Date" />
66
+ </picture>
67
+ </details>
68
+
53
69
  ## 💿 安装
54
70
 
55
71
  > [!note]
@@ -111,17 +127,18 @@ _✨ 简单的狼人杀插件 ✨_
111
127
 
112
128
  在 nonebot2 项目的 `.env` 文件中添加如下配置:
113
129
 
114
- | 配置项 | 必填 | 默认值 | 类型 | 说明 |
115
- | :--------------------------: | :--: | :-----: | :-----------------------: | :----------------------------: |
116
- | `werewolf__enable_poke` | 否 | `True` | `bool` | 是否使用戳一戳简化操作流程 |
117
- | `werewolf__enable_button` | 否 | `False` | `bool` | 是否在交互中添加按钮 |
118
- | `werewolf__stop_command` | 否 | `stop` | `str \| set[str]` | 修改游戏进程中的 `stop` 命令 |
119
- | `werewolf__require_at` | 否 | `True` | `bool \| RequireAtConfig` | 部分命令是否需要 at 机器人触发 |
120
- | `werewolf__matcher_priority` | 否 | - | `MatcherPriorityConfig` | 配置插件 matcher 注册的优先级 |
130
+ | 配置项 | 必填 | 默认值 | 类型 | 说明 |
131
+ | :--------------------------: | :--: | :-----: | :-----------------------: | :-------------------------------------------: |
132
+ | `werewolf__enable_poke` | 否 | `True` | `bool` | 是否使用戳一戳简化操作流程 |
133
+ | `werewolf__enable_button` | 否 | `False` | `bool` | 是否在交互中添加按钮 |
134
+ | `werewolf__stop_command` | 否 | `stop` | `str \| set[str]` | 修改游戏进程中的 `stop` 命令 |
135
+ | `werewolf__require_at` | 否 | `True` | `bool \| RequireAtConfig` | 部分命令是否需要 at 机器人触发 |
136
+ | `werewolf__matcher_priority` | 否 | - | `MatcherPriorityConfig` | 配置插件 matcher 注册的优先级 |
137
+ | `werewolf__use_cmd_start` | 否 | `None` | `bool \| None` | 是否使用配置项 `COMMAND_START` 来作为命令前缀 |
121
138
 
122
139
  `werewolf__enable_poke` 仅在 `OneBot V11` 适配器 / `Satori/chronocat` 下生效
123
140
 
124
- `werewolf__enable_button` 仅在 `Telegram` 适配器下通过测试,不保证在其他适配器的可用性。如有疑问欢迎提出。
141
+ `werewolf__enable_button` 仅在 `Telegram` 适配器下通过测试,不保证在其他适配器的可用性,如有疑问欢迎提出。
125
142
 
126
143
  <details>
127
144
  <summary> werewolf__require_at 示例 </summary>
@@ -136,15 +153,18 @@ werewolf__require_at=false
136
153
  # 狼人杀命令需要 at, 中止游戏命令不需要 at
137
154
  werewolf__require_at='{"start": true, "terminate": false}'
138
155
  ```
156
+
139
157
  </details>
140
- <br/>
141
158
 
142
159
  `werewolf__matcher_priority` 的 matcher 优先级参考 [官方文档](https://nonebot.dev/docs/advanced/matcher#%E5%93%8D%E5%BA%94%E4%BC%98%E5%85%88%E7%BA%A7)
143
- - 一般情况下不需要修改此配置, 插件的默认优先级可以参考 [这里](./nonebot_plugin_werewolf/config.py) 的 `MatcherPriorityConfig`
144
- - 如果遇到与其他插件的命令冲突, 可考虑修改此处的优先级配置
145
- - 配置应填入 JSON 对象, 可用键: `start` `terminate` `preset` `behavior` `in_game` `stop`
146
160
 
147
- ## 🎉 使用
161
+ - 一般情况下不需要修改此配置, 插件的默认优先级可以参考 [这里](./nonebot_plugin_werewolf/config.py) 的 `MatcherPriorityConfig`
162
+ - 如果遇到与其他插件的命令冲突, 可考虑修改此处的优先级配置
163
+ - 配置应填入 JSON 对象, 可用键: `start` `terminate` `preset` `behavior` `in_game` `stop`
164
+
165
+ `werewolf__use_cmd_start` 为 `None` 时,使用 alc 的 [全局配置](https://nonebot.dev/docs/next/best-practice/alconna/config#alconna_use_command_start)
166
+
167
+ ## 🚀 使用
148
168
 
149
169
  > [!note]
150
170
  >
@@ -165,19 +185,19 @@ werewolf__require_at='{"start": true, "terminate": false}'
165
185
 
166
186
  </details>
167
187
 
168
- ### 指令表
188
+ ### 📋 指令表
169
189
 
170
- | 指令 | 权限 | 需要@ | 范围 | 说明 |
171
- | :-----------------: | :-----------------: | :---: | :--: | :---------------------------------------: |
172
- | `werewolf`/`狼人杀` | 群员 | 是 | 群聊 | 发起游戏 (进入准备阶段) |
173
- | `开始游戏` | 游戏发起者 | 否 | 群聊 | _[准备阶段]_ 游戏发起者开始游戏 |
174
- | `结束游戏` | 游戏发起者/超级用户 | 否 | 群聊 | _[准备阶段]_ 游戏发起者/超级用户 结束游戏 |
175
- | `当前玩家` | 群员 | 否 | 群聊 | _[准备阶段]_ 列出参与游戏的玩家列表 |
176
- | `加入游戏` | 群员 | 否 | 群聊 | _[准备阶段]_ 玩家加入游戏 |
177
- | `退出游戏` | 群员 | 否 | 群聊 | _[准备阶段]_ 玩家退出游戏 |
178
- | `中止游戏` | 超级用户 | 是 | 群聊 | _[游戏内]_ 超级用户强制中止游戏 |
179
- | `狼人杀预设` | 超级用户 | 否 | 任意 | _[游戏外]_ 超级用户编辑游戏预设 |
180
- | `狼人杀配置` | 超级用户 | 否 | 任意 | _[游戏外]_ 超级用户编辑游戏配置 |
190
+ | 指令 | 权限 | 需要@ | 范围 | 说明 |
191
+ | :-----------------: | :-----------------: | :---: | :---------------: | :--------------------------: |
192
+ | `werewolf`/`狼人杀` | 群员 | 是 | 群聊 _[游戏外]_ | 发起游戏 (进入准备阶段) |
193
+ | `开始游戏` | 游戏发起者 | 否 | 群聊 _[准备阶段]_ | 游戏发起者开始游戏 |
194
+ | `结束游戏` | 游戏发起者/超级用户 | 否 | 群聊 _[准备阶段]_ | 游戏发起者/超级用户 结束游戏 |
195
+ | `当前玩家` | 群员 | 否 | 群聊 _[准备阶段]_ | 列出参与游戏的玩家列表 |
196
+ | `加入游戏` | 群员 | 否 | 群聊 _[准备阶段]_ | 玩家加入游戏 |
197
+ | `退出游戏` | 群员 | 否 | 群聊 _[准备阶段]_ | 玩家退出游戏 |
198
+ | `中止游戏` | 超级用户 | 是 | 群聊 _[游戏内]_ | 超级用户强制中止游戏 |
199
+ | `狼人杀预设` | 超级用户 | 否 | 任意 _[游戏外]_ | 超级用户编辑游戏预设 |
200
+ | `狼人杀配置` | 超级用户 | 否 | 任意 _[游戏外]_ | 超级用户编辑游戏配置 |
181
201
 
182
202
  - `超级用户` 为 nonebot2 配置项中的 `SUPERUSERS`, 配置说明参考 [官方文档](https://nonebot.dev/docs/appendices/config#superusers)
183
203
 
@@ -191,7 +211,7 @@ werewolf__require_at='{"start": true, "terminate": false}'
191
211
 
192
212
  - _其他交互参考游戏内提示_
193
213
 
194
- ### 游戏内容
214
+ ### 🎭 游戏内容
195
215
 
196
216
  > [!note]
197
217
  >
@@ -202,14 +222,14 @@ werewolf__require_at='{"start": true, "terminate": false}'
202
222
  插件中保存了一份 [职业预设](./nonebot_plugin_werewolf/constant.py), 内容如下
203
223
 
204
224
  | 总人数 | 狼人 | 神职 | 平民 |
205
- | ------ | ---- | ---- | ---- |
206
- | 6 | 1 | 2 | 3 |
207
- | 7 | 2 | 2 | 3 |
208
- | 8 | 2 | 3 | 3 |
209
- | 9 | 2 | 4 | 3 |
210
- | 10 | 3 | 4 | 3 |
211
- | 11 | 3 | 5 | 3 |
212
- | 12 | 4 | 5 | 3 |
225
+ | :----: | :--: | :--: | :--: |
226
+ | 6 | 1 | 2 | 3 |
227
+ | 7 | 2 | 2 | 3 |
228
+ | 8 | 2 | 3 | 3 |
229
+ | 9 | 2 | 4 | 3 |
230
+ | 10 | 3 | 4 | 3 |
231
+ | 11 | 3 | 5 | 3 |
232
+ | 12 | 4 | 5 | 3 |
213
233
 
214
234
  职业预设可以通过命令 `狼人杀预设 职业 ...` 修改
215
235
 
@@ -254,7 +274,6 @@ werewolf__require_at='{"start": true, "terminate": false}'
254
274
  > 其效果等同于以上描述中的单条命令 `狼人杀预设 狼人 狼人 狼王 狼人 狼人`
255
275
 
256
276
  </details>
257
- <br/>
258
277
 
259
278
  对于 `小丑` 职业,当预设中的平民数量大于或等于 2 时,将有 _一定概率_ 将其中一个平民替换为小丑。
260
279
 
@@ -262,12 +281,14 @@ werewolf__require_at='{"start": true, "terminate": false}'
262
281
 
263
282
  小丑生成概率可以通过命令 `狼人杀预设 小丑 <概率>` 设置,默认值为 0 (不生成小丑)。
264
283
 
265
- ### 已知问题
284
+ ### 🔧 已知问题
266
285
 
267
286
  <details>
268
287
  <summary>已知问题</summary>
269
288
 
270
- - 截止 chronocat v0.2.19, 调用 [`guild.member.get`](https://github.com/chrononeko/chronocat/blob/8558ad9ff4319395d86abbfda22136939bf66780/packages/engine-chronocat-api/src/api/guild/member/get.ts) / [`user.get`](https://github.com/chrononeko/chronocat/blob/8558ad9ff4319395d86abbfda22136939bf66780/packages/engine-chronocat-api/src/api/user/get.ts) 均无法获取用户名,这将导致在交互过程中的玩家名显示为用户 ID
289
+ - 截止 chronocat [v0.2.19](https://github.com/chrononeko/chronocat/tree/v0.2.19), 调用 [`guild.member.get`](https://github.com/chrononeko/chronocat/blob/8558ad9ff4319395d86abbfda22136939bf66780/packages/engine-chronocat-api/src/api/guild/member/get.ts) / [`user.get`](https://github.com/chrononeko/chronocat/blob/8558ad9ff4319395d86abbfda22136939bf66780/packages/engine-chronocat-api/src/api/user/get.ts) 均无法获取用户名,这将导致在交互过程中的玩家名显示为用户 ID
290
+
291
+ - v1.1.6 添加的按钮操作在 `discord` 适配器中不可用, 已在 v1.1.12 禁用 (2e31d43)
271
292
 
272
293
  </details>
273
294
 
@@ -278,6 +299,15 @@ werewolf__require_at='{"start": true, "terminate": false}'
278
299
 
279
300
  <!-- CHANGELOG -->
280
301
 
302
+ - 2025.06.04 v1.1.13
303
+
304
+ - 添加配置项 `werewolf__use_cmd_start`, 用于配置插件命令前缀
305
+ - 调整 v1.1.11 优先级配置的默认值
306
+
307
+ - 2025.06.01 v1.1.12
308
+
309
+ - 禁用 `discord` 适配器中的按钮操作 ~~以后会写适配的...吗?~~
310
+
281
311
  - 2025.04.20 v1.1.11
282
312
 
283
313
  - 添加配置项 `werewolf__require_at`, 用于配置命令是否需要 at 机器人触发
@@ -362,7 +392,7 @@ werewolf__require_at='{"start": true, "terminate": false}'
362
392
 
363
393
  </details>
364
394
 
365
- ## 鸣谢
395
+ ## 🎉 鸣谢
366
396
 
367
397
  - [`nonebot/nonebot2`](https://github.com/nonebot/nonebot2): 跨平台 Python 异步机器人框架
368
398
  - [`nonebot/plugin-alconna`](https://github.com/nonebot/plugin-alconna): 跨平台的消息处理接口
@@ -0,0 +1,37 @@
1
+ nonebot_plugin_werewolf/__init__.py,sha256=cj9lzoACNyphf7iZF5PkD9jxaMUzxQWYG_GE5cb649k,932
2
+ nonebot_plugin_werewolf/config.py,sha256=fZ8xvEsjBxLZQjbYMvLA3CbGq0EAEj6JKSGe111ectM,4166
3
+ nonebot_plugin_werewolf/constant.py,sha256=DqGgUfzsXt1Ls0tTHSSaYrUOZNuv6lgjfhfvdLR5DoM,1641
4
+ nonebot_plugin_werewolf/dead_channel.py,sha256=Dzs9E-jU_alZgCnZzFbvJwgIXrSHSxyNy1yLb_6-0Oo,2720
5
+ nonebot_plugin_werewolf/exception.py,sha256=SP9RdzsREB6PtpRfhZjxqybtvO0aw48hpN9QMU9jDZY,366
6
+ nonebot_plugin_werewolf/game.py,sha256=MsntnifA5zn1VxLDvPAsVRSaM7cm2dtj7IvFWwnabCA,17152
7
+ nonebot_plugin_werewolf/models.py,sha256=D_ajiDllT3WUhLxK1XlTpqBEr7fyLdszX422wgJ_7JM,2739
8
+ nonebot_plugin_werewolf/player.py,sha256=mrORov_uZhOSLe9IwdQH_64mwvBGYt0FPHHR4XkzcCY,11309
9
+ nonebot_plugin_werewolf/player_set.py,sha256=S2To4-YW-Geh-Jrol6IsqIvJmf5a7lNGMl4rlngD3Gc,3375
10
+ nonebot_plugin_werewolf/utils.py,sha256=V3JcguIHFxyOhkGE4vbc5Sd5g4oJAzxs69bLHuO-v-A,6142
11
+ nonebot_plugin_werewolf/matchers/__init__.py,sha256=lQ9AZDEWgtbP-W8KWvjkEYc_UfTHSUwjaGdZ7PT3z0E,219
12
+ nonebot_plugin_werewolf/matchers/_prepare_game.py,sha256=Cmzffbo79ecIJFzhTeOY8isOK7mvVJZr02AV7Zt-aBE,7855
13
+ nonebot_plugin_werewolf/matchers/depends.py,sha256=DVc9Ewzja9ywJ8MyYxST8pnfpVNJhLXafhbZhEMuxt8,1350
14
+ nonebot_plugin_werewolf/matchers/edit_behavior.py,sha256=cm_DtoyEhB1xujQiSrZd1uGaRfFjDl5lHsekaxJUKX0,7302
15
+ nonebot_plugin_werewolf/matchers/edit_preset.py,sha256=Qn0jb3l0HbpuH1FWN8yklpbCPp-W8LKwOkfw-rtKNeM,8096
16
+ nonebot_plugin_werewolf/matchers/message_in_game.py,sha256=3MYY1v9nkrbF-l-cJAoDzpmwvBCyb_QPumwuRPme_kY,1068
17
+ nonebot_plugin_werewolf/matchers/start_game.py,sha256=Dg2N615UxiE6qKux70flKo642OdTwg3QlivoyMIZUwk,4109
18
+ nonebot_plugin_werewolf/matchers/superuser_ops.py,sha256=urYaVsnd-Sx-h5ha0XDI62vHeiOfpwIptWp6ZP0UKqQ,873
19
+ nonebot_plugin_werewolf/matchers/poke/__init__.py,sha256=LhWYvAYZsmJbnYMFj7Q032pvq5_P6FYRCzvnwuBvsb0,272
20
+ nonebot_plugin_werewolf/matchers/poke/chronocat_poke.py,sha256=FEelbSnx8-44K3G24Zv059fxei1MjrnZaaUtlTUb7lc,3934
21
+ nonebot_plugin_werewolf/matchers/poke/ob11_poke.py,sha256=fnRiy7INcz0Y_Awqd-J0wW2taXABHIDUfluE9rgAzw8,2542
22
+ nonebot_plugin_werewolf/players/__init__.py,sha256=lDHCYkk6h_1Bl9DKIqF6vPAcLXNhCGlxBFQzPH4NvUQ,345
23
+ nonebot_plugin_werewolf/players/civilian.py,sha256=Y6A5yB74Ckn_U0vAOoRJhpwhm3MyG6m47TalQ2mjhtw,151
24
+ nonebot_plugin_werewolf/players/guard.py,sha256=D_1GqnL_EBYCOERQ6xVaargG_t-RKHyUbnuw_5gw-j4,1350
25
+ nonebot_plugin_werewolf/players/hunter.py,sha256=iYeM2srPaoncBrft2LRuyNVUeGyeBF-rs0BAHl7RP7s,228
26
+ nonebot_plugin_werewolf/players/idiot.py,sha256=OfbLuSLhXNJueB9IYheNT7OpenqaFQjKaAKBlOH3hE0,1659
27
+ nonebot_plugin_werewolf/players/jester.py,sha256=aErVfQS30hS0t2KiQSNFfTHmC2_hqtaHdQvQ4U1Ts_Y,1016
28
+ nonebot_plugin_werewolf/players/prophet.py,sha256=U4piex-QpI_GaDbJsp9hNyuMHLmvhaPCezKiSKhRhKA,1080
29
+ nonebot_plugin_werewolf/players/shooter.py,sha256=XtTKspxodeqYwnxtBIwmgxaQEDXcfCuPLrM3WefawLc,1942
30
+ nonebot_plugin_werewolf/players/werewolf.py,sha256=M-_OZ_E2drx7I0G7Ld8FJ7QjaRfAxOCCnI6YL4SDWYw,5325
31
+ nonebot_plugin_werewolf/players/witch.py,sha256=5qeWI1FOi3iUuzMhuTSJVo8Izc0KHseMKvncucvRFSE,3041
32
+ nonebot_plugin_werewolf/players/wolfking.py,sha256=CMZ5Tq74wupcRPjAzXHEF2Gts4z3thsD57q64uGp_-c,628
33
+ nonebot_plugin_werewolf-1.1.13.dist-info/licenses/LICENSE,sha256=B_WbEqjGr6GYVNfEJPY31T1Opik7OtgOkhRs4Ig3e2M,1064
34
+ nonebot_plugin_werewolf-1.1.13.dist-info/METADATA,sha256=1Fx9NCJroEmg3yGPSgm56Omb2VFjsYYpR8ps41C6lN8,15344
35
+ nonebot_plugin_werewolf-1.1.13.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
36
+ nonebot_plugin_werewolf-1.1.13.dist-info/top_level.txt,sha256=wLTfg8sTKbH9lLT9LtU118C9cTspEBJareLsrYM52YA,24
37
+ nonebot_plugin_werewolf-1.1.13.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (78.1.1)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,35 +0,0 @@
1
- nonebot_plugin_werewolf/__init__.py,sha256=9e9JlBvTP1rx6o5CSsFQo5w_cr8-0_xWg2YUsNEJ_WE,932
2
- nonebot_plugin_werewolf/config.py,sha256=ncIqL9StQ_Q0osqt2iyGlxZxgdqo9QPDQDhFDZMnk-g,3739
3
- nonebot_plugin_werewolf/constant.py,sha256=oBA6RWhJr7sDp-p3EbveMZfMP144TTGqYQGLUU7ionQ,2049
4
- nonebot_plugin_werewolf/exception.py,sha256=SP9RdzsREB6PtpRfhZjxqybtvO0aw48hpN9QMU9jDZY,366
5
- nonebot_plugin_werewolf/game.py,sha256=bq8w28jU7soBP7_UjsL3iCv4JfG-VOlbXfHheH3KLIQ,19378
6
- nonebot_plugin_werewolf/models.py,sha256=PiQ-5_R-cUlHKWDa5G0bFnz7jv20200_kr449G9Jgjg,2300
7
- nonebot_plugin_werewolf/player.py,sha256=1FPsvNkt9d5D2EH7vXCXmDabdcOOAGFcI4Ky9rUe99s,11223
8
- nonebot_plugin_werewolf/player_set.py,sha256=S2To4-YW-Geh-Jrol6IsqIvJmf5a7lNGMl4rlngD3Gc,3375
9
- nonebot_plugin_werewolf/utils.py,sha256=gV01cdGJXdbnxDcm6PWEbFYcgL1sF4rA-y5XzrYwzvU,7122
10
- nonebot_plugin_werewolf/matchers/__init__.py,sha256=lQ9AZDEWgtbP-W8KWvjkEYc_UfTHSUwjaGdZ7PT3z0E,219
11
- nonebot_plugin_werewolf/matchers/depends.py,sha256=FMlKxDyFjQUXmi6UekhmG1zDdO8xVOhPNoRKbBlg3Nw,1332
12
- nonebot_plugin_werewolf/matchers/edit_behavior.py,sha256=8gTSnvJNqKGjmOts_5zYR4f5Qn-NxUlAvUsOCk6LYDw,7262
13
- nonebot_plugin_werewolf/matchers/edit_preset.py,sha256=2PLo-7f2XdZxQ71hZBZ7r-wVj5fNlE13A2wnathhofw,8113
14
- nonebot_plugin_werewolf/matchers/message_in_game.py,sha256=xpnUanxa-reVlaXnwBTwfoDWQc-MhsMq03tHFKjeEkQ,1052
15
- nonebot_plugin_werewolf/matchers/start_game.py,sha256=yLYXxzK_NUz8FreAZMB894wFaMpTmR2lNxMrkwQRzIg,12060
16
- nonebot_plugin_werewolf/matchers/superuser_ops.py,sha256=_Bt_UbEZzeaPMBzwICvWRWoGgV_YnKauBy8dw7uBiUA,889
17
- nonebot_plugin_werewolf/matchers/poke/__init__.py,sha256=LhWYvAYZsmJbnYMFj7Q032pvq5_P6FYRCzvnwuBvsb0,272
18
- nonebot_plugin_werewolf/matchers/poke/chronocat_poke.py,sha256=i_9eJXR2FTHhSM_jveeza6A2jkVGl0lncqs6u_rJ4yk,3931
19
- nonebot_plugin_werewolf/matchers/poke/ob11_poke.py,sha256=k-huQnnblojsQpDYVM_RnhWvmEWc--1usn_0sN-lzxo,2539
20
- nonebot_plugin_werewolf/players/__init__.py,sha256=lDHCYkk6h_1Bl9DKIqF6vPAcLXNhCGlxBFQzPH4NvUQ,345
21
- nonebot_plugin_werewolf/players/civilian.py,sha256=Y6A5yB74Ckn_U0vAOoRJhpwhm3MyG6m47TalQ2mjhtw,151
22
- nonebot_plugin_werewolf/players/guard.py,sha256=2HE3MRG92Ujc4JUHEB86EwNB-l7PgdpNUFxCU8cDBKQ,1354
23
- nonebot_plugin_werewolf/players/hunter.py,sha256=iYeM2srPaoncBrft2LRuyNVUeGyeBF-rs0BAHl7RP7s,228
24
- nonebot_plugin_werewolf/players/idiot.py,sha256=OfbLuSLhXNJueB9IYheNT7OpenqaFQjKaAKBlOH3hE0,1659
25
- nonebot_plugin_werewolf/players/jester.py,sha256=aErVfQS30hS0t2KiQSNFfTHmC2_hqtaHdQvQ4U1Ts_Y,1016
26
- nonebot_plugin_werewolf/players/prophet.py,sha256=OlMYIdSlZppbHVpfpeO60nFwdh1YtxMVCWEuapFZSyA,1084
27
- nonebot_plugin_werewolf/players/shooter.py,sha256=1bWkqcSFX6Crynh3IrlI-2RGrNiP6d4XJAc8_FAF2JU,1946
28
- nonebot_plugin_werewolf/players/werewolf.py,sha256=7lAJT7FjEt42J04RNAXkfDDIN-1mQOej0NaIo0dEWMQ,5347
29
- nonebot_plugin_werewolf/players/witch.py,sha256=flugzsDkpYiMW-BQGvvqwcXHX_UGcsryAnyYKmh07l4,3049
30
- nonebot_plugin_werewolf/players/wolfking.py,sha256=CMZ5Tq74wupcRPjAzXHEF2Gts4z3thsD57q64uGp_-c,628
31
- nonebot_plugin_werewolf-1.1.11.dist-info/licenses/LICENSE,sha256=B_WbEqjGr6GYVNfEJPY31T1Opik7OtgOkhRs4Ig3e2M,1064
32
- nonebot_plugin_werewolf-1.1.11.dist-info/METADATA,sha256=mU_NX1jnmiEtiMkwJ_sRkmfDjwGKDrSr8sFS8OD_tBI,13897
33
- nonebot_plugin_werewolf-1.1.11.dist-info/WHEEL,sha256=lTU6B6eIfYoiQJTZNc-fyaR6BpL6ehTzU3xGYxn2n8k,91
34
- nonebot_plugin_werewolf-1.1.11.dist-info/top_level.txt,sha256=wLTfg8sTKbH9lLT9LtU118C9cTspEBJareLsrYM52YA,24
35
- nonebot_plugin_werewolf-1.1.11.dist-info/RECORD,,