diff --git a/src/plugins/nonebot_plugin_sign/__main__.py b/src/plugins/nonebot_plugin_sign/__main__.py index 92589171..07ad9410 100644 --- a/src/plugins/nonebot_plugin_sign/__main__.py +++ b/src/plugins/nonebot_plugin_sign/__main__.py @@ -116,7 +116,7 @@ async def resign(sign_data: SignData, user: MoonlarkUser) -> bool: if (days := (date.today() - sign_data.last_sign).days - 1) >= 15: return False needed_vimcoin = days * 30 - if user.has_vimcoin(needed_vimcoin): + if not await user.has_vimcoin(needed_vimcoin): return False try: await prompt(