feat✨: 添加游戏抽卡功能

This commit is contained in:
HibiKier
2024-07-28 03:37:37 +08:00
parent 86048e041c
commit aa7a8271f3
17 changed files with 4039 additions and 1 deletions
+10
View File
@@ -0,0 +1,10 @@
from nonebot.internal.rule import Rule
from zhenxun.configs.config import Config
def rule(game) -> Rule:
async def _rule() -> bool:
return Config.get_config("draw_card", game.config_name, True)
return Rule(_rule)