diff options
Diffstat (limited to 'ATRI/plugins/plugin_sqlite')
-rw-r--r-- | ATRI/plugins/plugin_sqlite/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ATRI/plugins/plugin_sqlite/__init__.py b/ATRI/plugins/plugin_sqlite/__init__.py index ef03bab..a1208f1 100644 --- a/ATRI/plugins/plugin_sqlite/__init__.py +++ b/ATRI/plugins/plugin_sqlite/__init__.py @@ -43,7 +43,7 @@ UploadSetu = on_command('setu-upload', permission=SUPERUSER) async def _(bot: Bot, event: Event, state: dict) -> None: msg = str(event.message).strip().split(' ') - if not msg[0] and msg[1]: + if not msg[0] and not msg[1]: msg0 = "请检查格式奥~!\n" msg0 += "setu-upload [type] [pid]\n" msg0 += "type: normal, nearR18, r18" @@ -118,7 +118,7 @@ DeleteSetu = on_command('setu-delete', permission=SUPERUSER) async def _(bot: Bot, event: Event, state: dict) -> None: msg = str(event.message).strip().split(' ') - if not msg[0] and msg[1]: + if not msg[0] and not msg[1]: msg0 = "请检查格式奥~!\n" msg0 += "setu-delete [type] [pid]\n" msg0 += "type: normal, nearR18, r18" |