[commands] Fix references in Bot to actually link.
Exceptions can't seem to link due to a bug in Sphinx.
This commit is contained in:
@ -280,7 +280,7 @@ class BotBase(GroupMixin):
|
||||
return await discord.utils.async_all(f(ctx) for f in data)
|
||||
|
||||
async def is_owner(self, user):
|
||||
"""Checks if a :class:`.User` or :class:`.Member` is the owner of
|
||||
"""Checks if a :class:`~discord.User` or :class:`~discord.Member` is the owner of
|
||||
this bot.
|
||||
|
||||
If an :attr:`owner_id` is not set, it is fetched automatically
|
||||
@ -630,7 +630,7 @@ class BotBase(GroupMixin):
|
||||
The extension can provide an optional global function, ``teardown``,
|
||||
to do miscellaneous clean-up if necessary. This function takes a single
|
||||
parameter, the ``bot``, similar to ``setup`` from
|
||||
:func:`~.Bot.load_extension`.
|
||||
:meth:`~.Bot.load_extension`.
|
||||
|
||||
Parameters
|
||||
------------
|
||||
@ -904,9 +904,6 @@ class Bot(BotBase, discord.Client):
|
||||
anything that you can do with a :class:`discord.Client` you can do with
|
||||
this bot.
|
||||
|
||||
.. _deque: https://docs.python.org/3.4/library/collections.html#collections.deque
|
||||
.. _event loop: https://docs.python.org/3/library/asyncio-eventloops.html
|
||||
|
||||
This class also subclasses :class:`.GroupMixin` to provide the functionality
|
||||
to manage commands.
|
||||
|
||||
|
Reference in New Issue
Block a user