Added exception documentation for Guild.create_voice_channel
This commit is contained in:
parent
2552a268cb
commit
4a686e11ba
@ -905,6 +905,15 @@ class Guild(Hashable):
|
|||||||
The channel's preferred audio bitrate in bits per second.
|
The channel's preferred audio bitrate in bits per second.
|
||||||
user_limit: :class:`int`
|
user_limit: :class:`int`
|
||||||
The channel's limit for number of members that can be in a voice channel.
|
The channel's limit for number of members that can be in a voice channel.
|
||||||
|
|
||||||
|
Raises
|
||||||
|
------
|
||||||
|
Forbidden
|
||||||
|
You do not have the proper permissions to create this channel.
|
||||||
|
HTTPException
|
||||||
|
Creating the channel failed.
|
||||||
|
InvalidArgument
|
||||||
|
The permission overwrite information is not in proper form.
|
||||||
|
|
||||||
Returns
|
Returns
|
||||||
-------
|
-------
|
||||||
@ -927,6 +936,15 @@ class Guild(Hashable):
|
|||||||
|
|
||||||
The ``category`` parameter is not supported in this function since categories
|
The ``category`` parameter is not supported in this function since categories
|
||||||
cannot have categories.
|
cannot have categories.
|
||||||
|
|
||||||
|
Raises
|
||||||
|
------
|
||||||
|
Forbidden
|
||||||
|
You do not have the proper permissions to create this channel.
|
||||||
|
HTTPException
|
||||||
|
Creating the channel failed.
|
||||||
|
InvalidArgument
|
||||||
|
The permission overwrite information is not in proper form.
|
||||||
|
|
||||||
Returns
|
Returns
|
||||||
-------
|
-------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user