mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-05-09 23:39:50 +00:00
Fix afk_channel docstring error
This commit is contained in:
parent
abfb3a11b0
commit
a8675ccde8
@ -186,8 +186,6 @@ class Guild(Hashable):
|
|||||||
.. versionadded:: 2.0
|
.. versionadded:: 2.0
|
||||||
afk_timeout: :class:`int`
|
afk_timeout: :class:`int`
|
||||||
The number of seconds until someone is moved to the AFK channel.
|
The number of seconds until someone is moved to the AFK channel.
|
||||||
afk_channel: Optional[:class:`VoiceChannel`]
|
|
||||||
The channel that denotes the AFK channel. ``None`` if it doesn't exist.
|
|
||||||
id: :class:`int`
|
id: :class:`int`
|
||||||
The guild's ID.
|
The guild's ID.
|
||||||
owner_id: :class:`int`
|
owner_id: :class:`int`
|
||||||
@ -1882,6 +1880,8 @@ class Guild(Hashable):
|
|||||||
and ``public_updates_channel`` parameters are required.
|
and ``public_updates_channel`` parameters are required.
|
||||||
|
|
||||||
.. versionadded:: 2.0
|
.. versionadded:: 2.0
|
||||||
|
afk_channel: Optional[:class:`VoiceChannel`]
|
||||||
|
The new channel that is the AFK channel. Could be ``None`` for no AFK channel.
|
||||||
afk_timeout: :class:`int`
|
afk_timeout: :class:`int`
|
||||||
The number of seconds until someone is moved to the AFK channel.
|
The number of seconds until someone is moved to the AFK channel.
|
||||||
owner: :class:`Member`
|
owner: :class:`Member`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user