diff --git a/modules/coin/__init__.py b/modules/coin/__init__.py index da5be9b1..210cb69c 100644 --- a/modules/coin/__init__.py +++ b/modules/coin/__init__.py @@ -10,6 +10,7 @@ COIN_DROP_PLACES = ["地上","桌子上","桌子底下","门口","窗户外"," coin = on_command('coin', developers=['Light-Beacon'], desc='抛n枚硬币') @coin.handle('[] {投n枚硬币}',) +@coin.handle() async def _(msg: MessageSession): amount = msg.parsed_msg.get('', '1') if not amount.isdigit():