Skip to content

Commit

Permalink
Merge pull request #21 from Tian-que/br_fix_nickname
Browse files Browse the repository at this point in the history
fix User model field nikname -> nickname
  • Loading branch information
Tian-que authored Apr 16, 2023
2 parents f062eac + cff862a commit 43d968e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion nonebot/adapters/kaiheila/api/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class User(BaseModel):
"""用户的 id"""
username: Optional[str] = None
"""用户的名称"""
nikname: Optional[str] = None
nickname: Optional[str] = None
"""用户在当前服务器的昵称"""
identify_num: Optional[str] = None
"""用户名的认证数字,用户名正常为:user_name#identify_num"""
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[tool.poetry]
name = "nonebot-adapter-kaiheila"
version = "0.2.5"
version = "0.2.6"
description = "kaiheila adapter for nonebot2"
authors = ["Tian-que <1605206150@qq.com>"]
authors = ["Tian-que <1605206150@qq.com>", "ssttkkl <huang.wen.long@hotmail.com>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/Tian-que/nonebot-adapter-kaiheila"
Expand Down

0 comments on commit 43d968e

Please sign in to comment.