[docs] category_id is Optional
This commit is contained in:
parent
bc642ded6e
commit
30c9e33384
@ -79,8 +79,8 @@ class TextChannel(discord.abc.Messageable, discord.abc.GuildChannel, Hashable):
|
|||||||
The guild the channel belongs to.
|
The guild the channel belongs to.
|
||||||
id: :class:`int`
|
id: :class:`int`
|
||||||
The channel ID.
|
The channel ID.
|
||||||
category_id: :class:`int`
|
category_id: Optional[:class:`int`]
|
||||||
The category channel ID this channel belongs to.
|
The category channel ID this channel belongs to, if applicable.
|
||||||
topic: Optional[:class:`str`]
|
topic: Optional[:class:`str`]
|
||||||
The channel's topic. None if it doesn't exist.
|
The channel's topic. None if it doesn't exist.
|
||||||
position: :class:`int`
|
position: :class:`int`
|
||||||
@ -484,8 +484,8 @@ class VoiceChannel(discord.abc.Connectable, discord.abc.GuildChannel, Hashable):
|
|||||||
The guild the channel belongs to.
|
The guild the channel belongs to.
|
||||||
id: :class:`int`
|
id: :class:`int`
|
||||||
The channel ID.
|
The channel ID.
|
||||||
category_id: :class:`int`
|
category_id: Optional[:class:`int`]
|
||||||
The category channel ID this channel belongs to.
|
The category channel ID this channel belongs to, if applicable.
|
||||||
position: :class:`int`
|
position: :class:`int`
|
||||||
The position in the channel list. This is a number that starts at 0. e.g. the
|
The position in the channel list. This is a number that starts at 0. e.g. the
|
||||||
top channel is position 0.
|
top channel is position 0.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user