Skip to content

Commit

Permalink
docs: guild.owner_id type mismatch between docs and code (#1273)
Browse files Browse the repository at this point in the history
  • Loading branch information
nerd-bear authored Feb 5, 2025
1 parent ce88413 commit a72a457
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion disnake/guild.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,9 @@ class Guild(Hashable):
The channel that denotes the AFK channel. ``None`` if it doesn't exist.
id: :class:`int`
The guild's ID.
owner_id: :class:`int`
owner_id: Optional[:class:`int`]
The guild owner's ID. Use :attr:`Guild.owner` if you need a :class:`Member` object instead.
This may be ``None`` if the guild is :attr:`~Guild.unavailable`.
unavailable: :class:`bool`
Whether the guild is unavailable. If this is ``True`` then the
reliability of other attributes outside of :attr:`Guild.id` is slim and they might
Expand Down

0 comments on commit a72a457

Please sign in to comment.