We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
guild.owner_id
1 parent ce88413 commit a72a457Copy full SHA for a72a457
disnake/guild.py
@@ -177,8 +177,9 @@ class Guild(Hashable):
177
The channel that denotes the AFK channel. ``None`` if it doesn't exist.
178
id: :class:`int`
179
The guild's ID.
180
- owner_id: :class:`int`
+ owner_id: Optional[:class:`int`]
181
The guild owner's ID. Use :attr:`Guild.owner` if you need a :class:`Member` object instead.
182
+ This may be ``None`` if the guild is :attr:`~Guild.unavailable`.
183
unavailable: :class:`bool`
184
Whether the guild is unavailable. If this is ``True`` then the
185
reliability of other attributes outside of :attr:`Guild.id` is slim and they might
0 commit comments