diff options
| author | ed588 <[email protected]> | 2019-07-09 11:38:01 +0100 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2019-07-18 18:06:27 -0400 |
| commit | c6133ef88116268c0d767c9dd69807fe126cfb42 (patch) | |
| tree | ffbc01dcb0a48e85700b7cedf09002ac1643023d | |
| parent | [commands] Fix CategoryChannel not appearing in converter table (diff) | |
| download | discord.py-c6133ef88116268c0d767c9dd69807fe126cfb42.tar.xz discord.py-c6133ef88116268c0d767c9dd69807fe126cfb42.zip | |
[commands] Bot.is_owner should be marked as coroutine
| -rw-r--r-- | discord/ext/commands/bot.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/discord/ext/commands/bot.py b/discord/ext/commands/bot.py index c318408b..29897c39 100644 --- a/discord/ext/commands/bot.py +++ b/discord/ext/commands/bot.py @@ -285,7 +285,9 @@ 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:`~discord.User` or :class:`~discord.Member` is the owner of + """|coro| + + 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 |