diff options
| author | Rapptz <[email protected]> | 2019-04-10 05:12:11 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2019-04-10 05:13:30 -0400 |
| commit | 50dcdac5ca74d39f2589e66266b2e99626c60b1e (patch) | |
| tree | f7f306277cab26d6d00a316a25f9d5f8b5623145 /discord/ext | |
| parent | Update changelog (diff) | |
| download | discord.py-50dcdac5ca74d39f2589e66266b2e99626c60b1e.tar.xz discord.py-50dcdac5ca74d39f2589e66266b2e99626c60b1e.zip | |
[commands] Fix references in Bot to actually link.
Exceptions can't seem to link due to a bug in Sphinx.
Diffstat (limited to 'discord/ext')
| -rw-r--r-- | discord/ext/commands/bot.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/discord/ext/commands/bot.py b/discord/ext/commands/bot.py index 35667559..febe640f 100644 --- a/discord/ext/commands/bot.py +++ b/discord/ext/commands/bot.py @@ -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. |