docs(README): 更新配置文件参数说明

This commit is contained in:
2025-03-23 16:50:09 +08:00
parent 3b4f23c670
commit 54e197e0fd
4 changed files with 30 additions and 11 deletions

View File

@@ -39,10 +39,7 @@ class Mapping:
a,
log,
)
await self.database.add(
id_,
alias,
)
await self.database.add(id_, alias)
async def has_mapping(self, id_: str) -> str:
return d[0] if (d := await self.database.select(id_)) else ""