Documentation fixes.
This commit is contained in:
parent
5f4e13df96
commit
78e95ef755
@ -1331,12 +1331,12 @@ class Client:
|
|||||||
The game_id parameter is a numeric ID (not a string) that represents
|
The game_id parameter is a numeric ID (not a string) that represents
|
||||||
a game being played currently. The list of game_id to actual games changes
|
a game being played currently. The list of game_id to actual games changes
|
||||||
constantly and would thus be out of date pretty quickly. An old version of
|
constantly and would thus be out of date pretty quickly. An old version of
|
||||||
the game_id database can be seen `here`_ to help you get started.
|
the game_id database can be seen `here <game_list>`_ to help you get started.
|
||||||
|
|
||||||
The idle parameter is a boolean parameter that indicates whether the
|
The idle parameter is a boolean parameter that indicates whether the
|
||||||
client should go idle or not.
|
client should go idle or not.
|
||||||
|
|
||||||
.. _here: https://gist.github.com/Rapptz/a82b82381b70a60c281b
|
.. _game_list: https://gist.github.com/Rapptz/a82b82381b70a60c281b
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
@ -1636,7 +1636,7 @@ class Client:
|
|||||||
def get_bans(self, server):
|
def get_bans(self, server):
|
||||||
"""|coro|
|
"""|coro|
|
||||||
|
|
||||||
Retrieves all the :class:`User`s that are banned from the specified
|
Retrieves all the :class:`User` s that are banned from the specified
|
||||||
server.
|
server.
|
||||||
|
|
||||||
You must have proper permissions to get this information.
|
You must have proper permissions to get this information.
|
||||||
|
@ -416,7 +416,7 @@ class VoiceClient:
|
|||||||
The operations that can be done on the player are the same as those in
|
The operations that can be done on the player are the same as those in
|
||||||
:meth:`create_stream_player`.
|
:meth:`create_stream_player`.
|
||||||
|
|
||||||
.. _here: https://github.com/rg3/youtube-dl/blob/master/youtube_dl/YoutubeDL.py#L117-L265
|
.. _ytdl: https://github.com/rg3/youtube-dl/blob/master/youtube_dl/YoutubeDL.py#L117-L265
|
||||||
|
|
||||||
Examples
|
Examples
|
||||||
----------
|
----------
|
||||||
@ -434,7 +434,7 @@ class VoiceClient:
|
|||||||
to ``ffmpeg`` or ``avconv`` to convert to PCM bytes.
|
to ``ffmpeg`` or ``avconv`` to convert to PCM bytes.
|
||||||
options : dict
|
options : dict
|
||||||
A dictionary of options to pass into the ``YoutubeDL`` instance.
|
A dictionary of options to pass into the ``YoutubeDL`` instance.
|
||||||
See `here`_ for more details.
|
See `the documentation <ydl>`_ for more details.
|
||||||
use_avconv: bool
|
use_avconv: bool
|
||||||
Use ``avconv`` instead of ``ffmpeg``. Passes the appropriate
|
Use ``avconv`` instead of ``ffmpeg``. Passes the appropriate
|
||||||
flags to ``youtube-dl`` as well.
|
flags to ``youtube-dl`` as well.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user