Skip to content

Commit

Permalink
bump to v1.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
cleoold committed Aug 31, 2021
1 parent 317cd52 commit 4602e39
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion aiocqhttp/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def __init__(self,
- ``type_``: 当没有传入 ``d`` 参数或 ``d`` 参数无法识别时,此参数必填,对应消息段的 ``type`` 字段
- ``data``: 对应消息段的 ``data`` 字段
当没有正确传入类型参数时,抛出 ``ValurError``。
当没有正确传入类型参数时,抛出 ``ValueError``。
"""
super().__init__()
if isinstance(d, dict) and d.get('type'):
Expand Down
2 changes: 1 addition & 1 deletion docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 更新日志

## master
## v1.4.2

- 修复从 `str` 构造 `Message` 时无法正确去转义参数 [#57](https://github.com/nonebot/aiocqhttp/issues/57)
- 修复无法构造空 `Message` 的问题
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name='aiocqhttp',
version='1.4.1',
version='1.4.2',
url='https://github.com/nonebot/aiocqhttp',
license='MIT License',
author='Richard Chien',
Expand Down

0 comments on commit 4602e39

Please sign in to comment.