diff options
author | Kyomotoi <[email protected]> | 2020-08-04 23:58:43 +0800 |
---|---|---|
committer | Kyomotoi <[email protected]> | 2020-08-04 23:58:43 +0800 |
commit | 133616655fd7bf39f0eea422b5057612cb3cccaa (patch) | |
tree | ab8bfa229574aedac89f37a825cd06ca5a2a9b80 /ATRI/plugins/hitokoto.py | |
parent | 2607d289de37e535b6599532df4d2c41fc0b2358 (diff) | |
download | ATRI-133616655fd7bf39f0eea422b5057612cb3cccaa.tar.gz ATRI-133616655fd7bf39f0eea422b5057612cb3cccaa.tar.bz2 ATRI-133616655fd7bf39f0eea422b5057612cb3cccaa.zip |
[Fix] 修复数据库上传问题
Diffstat (limited to 'ATRI/plugins/hitokoto.py')
-rw-r--r-- | ATRI/plugins/hitokoto.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ATRI/plugins/hitokoto.py b/ATRI/plugins/hitokoto.py index 2f542c3..36a5f33 100644 --- a/ATRI/plugins/hitokoto.py +++ b/ATRI/plugins/hitokoto.py @@ -2,7 +2,7 @@ import json from nonebot import on_command, on_natural_language, CommandSession from nonebot import NLPSession, NLPResult -from ATRI.modules import response +from ATRI.modules import response # type: ignore url = f'https://api.imjad.cn/hitokoto/?cat=a&charset=utf-8&length=50&encode=json&fun=sync&source=' @@ -30,4 +30,4 @@ async def hitokoto(session: CommandSession): @on_natural_language('一言', only_to_me = False) async def _(session: NLPSession): - return NLPResult(60.0, ('hitokoto',), None)
\ No newline at end of file + return NLPResult(60.0, ('hitokoto'), None)
\ No newline at end of file |