Skip to content

Commit

Permalink
docs: smol fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
shiftinv committed Sep 22, 2023
1 parent aee9260 commit 5a3d5a0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions disnake/ext/commands/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,14 +175,14 @@ class Bot(BotBase, InteractionBotBase, disnake.Client):
This can be provided as a parameter at creation.
owner_id: Optional[:class:`int`]
The user ID that owns the bot. If this is not set and is then queried via
The ID of the user that owns the bot. If this is not set and is then queried via
:meth:`.is_owner` then it is fetched automatically using
:meth:`~.Bot.application_info`.
This can be provided as a parameter at creation.
owner_ids: Optional[Collection[:class:`int`]]
The user IDs that owns the bot. This is similar to :attr:`owner_id`.
The IDs of the users that own the bot. This is similar to :attr:`owner_id`.
If this is not set and the application is team based, then it is
fetched automatically using :meth:`~.Bot.application_info`.
For performance reasons it is recommended to use a :class:`set`
Expand Down Expand Up @@ -394,14 +394,14 @@ class InteractionBot(InteractionBotBase, disnake.Client):
Attributes
----------
owner_id: Optional[:class:`int`]
The user ID that owns the bot. If this is not set and is then queried via
The ID of the user that owns the bot. If this is not set and is then queried via
:meth:`.is_owner` then it is fetched automatically using
:meth:`~.Bot.application_info`.
This can be provided as a parameter at creation.
owner_ids: Optional[Collection[:class:`int`]]
The user IDs that owns the bot. This is similar to :attr:`owner_id`.
The IDs of the users that own the bot. This is similar to :attr:`owner_id`.
If this is not set and the application is team based, then it is
fetched automatically using :meth:`~.Bot.application_info`.
For performance reasons it is recommended to use a :class:`set`
Expand Down
2 changes: 1 addition & 1 deletion disnake/ext/commands/common_bot_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ async def is_owner(self, user: Union[disnake.User, disnake.Member]) -> bool:
Checks if a :class:`~disnake.User` or :class:`~disnake.Member` is the owner of
this bot.
If an :attr:`owner_id` is not set, it is fetched automatically
If :attr:`owner_id` and :attr:`owner_ids` are not set, they are fetched automatically
through the use of :meth:`~.Bot.application_info`.
.. versionchanged:: 1.3
Expand Down

0 comments on commit 5a3d5a0

Please sign in to comment.