Skip to content

Commit

Permalink
🔖 [Version tag] v1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
foxwhite25 committed Jan 16, 2022
1 parent 7886088 commit 1f6ec8e
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions qq/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
__title__ = 'qq'
__author__ = 'Foxwhite'
__license__ = 'MIT'
__version__ = '1.0.15'
__version__ = '1.1.0'

# The MIT License (MIT)
# Copyright (c) 2021-present foxwhite25
Expand Down Expand Up @@ -58,4 +58,4 @@ class VersionInfo(NamedTuple):
serial: int


version_info: VersionInfo = VersionInfo(major=1, minor=0, micro=15, releaselevel='beta', serial=0)
version_info: VersionInfo = VersionInfo(major=1, minor=1, micro=0, releaselevel='beta', serial=0)
2 changes: 1 addition & 1 deletion qq/ext/commands/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ def setup(bot, **kwargs):
def setup(bot, keyword_arg):
bot.add_cog(MeCog(bot, keyword_arg))
.. versionadded:: 1.0.16
.. versionadded:: 1.1.0
Raises
Expand Down
2 changes: 1 addition & 1 deletion qq/ext/commands/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ class Command(_BaseCommand, Generic[CogT, P, T]):
在此定义的任何 ``pre_invoke`` 或 ``after_invoke`` 都将覆盖父项。
.. versionadded:: 1.0.16
.. versionadded:: 1.1.0
"""
__original_kwargs__: Dict[str, Any]
Expand Down
2 changes: 1 addition & 1 deletion qq/ext/tasks/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ def next_iteration(self) -> Optional[datetime.datetime]:
async def __call__(self, *args: Any, **kwargs: Any) -> Any:
r"""|coro|
调用任务持有的内部回调。
.. versionadded:: 1.0.16
.. versionadded:: 1.1.0
Parameters
------------
Expand Down
4 changes: 2 additions & 2 deletions qq/guild.py
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,7 @@ async def mute_guild(
def bots(self) -> List[Member]:
"""List[:class:`Member`]: 属于该频道的机器人列表。
.. versionadded:: 1.0.16"""
.. versionadded:: 1.1.0"""
return [m for m in self._members.values() if m.bot]

@property
Expand All @@ -998,6 +998,6 @@ def humans(self) -> List[Member]:
由于 QQ 的限制,为了使该属性保持最新和准确,它需要 ``Intents.members``。
.. versionadded:: 1.0.16"""
.. versionadded:: 1.1.0"""
return [m for m in self._members.values() if not m.bot]

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

setup(
name='qq.py',
version='1.0.15',
version='1.1.0',
description='QQ 频道 API 的 Python Wrapper',
py_modules=["qq"],
packages=['qq', "qq.types", "qq.ext.commands", "qq.ext.tasks"],
Expand Down

0 comments on commit 1f6ec8e

Please sign in to comment.