diff --git a/qq/__init__.py b/qq/__init__.py index f0bc0e0..98f3bb0 100644 --- a/qq/__init__.py +++ b/qq/__init__.py @@ -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 @@ -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) diff --git a/qq/ext/commands/bot.py b/qq/ext/commands/bot.py index f205dcc..4d8d8b9 100644 --- a/qq/ext/commands/bot.py +++ b/qq/ext/commands/bot.py @@ -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 diff --git a/qq/ext/commands/core.py b/qq/ext/commands/core.py index b457d0e..30799fc 100644 --- a/qq/ext/commands/core.py +++ b/qq/ext/commands/core.py @@ -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] diff --git a/qq/ext/tasks/__init__.py b/qq/ext/tasks/__init__.py index 1092acc..ae5f2cb 100644 --- a/qq/ext/tasks/__init__.py +++ b/qq/ext/tasks/__init__.py @@ -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 ------------ diff --git a/qq/guild.py b/qq/guild.py index 438b3b3..05c47cb 100644 --- a/qq/guild.py +++ b/qq/guild.py @@ -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 @@ -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] diff --git a/setup.py b/setup.py index 83d5964..a11dfa5 100644 --- a/setup.py +++ b/setup.py @@ -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"],