From c6133ef88116268c0d767c9dd69807fe126cfb42 Mon Sep 17 00:00:00 2001 From: ed588 Date: Tue, 9 Jul 2019 11:38:01 +0100 Subject: [PATCH] [commands] Bot.is_owner should be marked as coroutine --- discord/ext/commands/bot.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/discord/ext/commands/bot.py b/discord/ext/commands/bot.py index c318408b7..29897c390 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