From 6f9793fe5e8090446f7e8fd0d1e0d752cd66fd0f Mon Sep 17 00:00:00 2001 From: Harmon Date: Wed, 22 Jan 2020 22:55:05 -0600 Subject: Fixes and improvements for v1.3 documentation * Add missing versionadded strings for v1.3 * Add missing versionchanged string for Message.edit * Consistently use versionadded for attributes * Consistently use versionchanged for parameters * Use versionchanged for Bot.is_owner * Fix references in v1.3 changelog * Improve grammar in v1.3 changelog --- discord/ext/commands/bot.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'discord/ext') diff --git a/discord/ext/commands/bot.py b/discord/ext/commands/bot.py index 42cdd929..20dc94de 100644 --- a/discord/ext/commands/bot.py +++ b/discord/ext/commands/bot.py @@ -293,8 +293,9 @@ class BotBase(GroupMixin): If an :attr:`owner_id` is not set, it is fetched automatically through the use of :meth:`~.Bot.application_info`. - The function also checks if the application is team-owned if - :attr:`owner_ids` is not set. + .. versionchanged:: 1.3 + The function also checks if the application is team-owned if + :attr:`owner_ids` is not set. Parameters ----------- @@ -993,6 +994,8 @@ class Bot(BotBase, discord.Client): fetched automatically using :meth:`~.Bot.application_info`. For performance reasons it is recommended to use a :class:`set` for the collection. You cannot set both `owner_id` and `owner_ids`. + + .. versionadded:: 1.3 """ pass -- cgit v1.2.3