v1.0.2
What's Changed?
- fix(main): set vip roll task from 60s to 80s, avoid conflict with
file save task
- feat(main): add kill command to exit bot
- feat(FileManage): add ReadOnly params for
__init__
, addappend/__eq__/__ne__
- feat(api): add /afd post for aifadian webhook
- docs(requirements): update requiremenst using
pipreqs
- docs(README): update README/README_EN
bot status info
an error in FileManage, cause bot log file all be deleted T-T
async def save_aio(self):
async with aiofiles.open(self.path, 'w', encoding='utf-8') as f:
await f.write(json.dump(self.value,indent=2, sort_keys=True, ensure_ascii=False))
#THE RIGHT ONE IS json.dumps