[commands] Bot.is_owner should be marked as coroutine
This commit is contained in:
parent
956f4c7151
commit
c6133ef881
@ -285,7 +285,9 @@ class BotBase(GroupMixin):
|
|||||||
return await discord.utils.async_all(f(ctx) for f in data)
|
return await discord.utils.async_all(f(ctx) for f in data)
|
||||||
|
|
||||||
async def is_owner(self, user):
|
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.
|
this bot.
|
||||||
|
|
||||||
If an :attr:`owner_id` is not set, it is fetched automatically
|
If an :attr:`owner_id` is not set, it is fetched automatically
|
||||||
|
Loading…
x
Reference in New Issue
Block a user