mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-20 07:54:36 +00:00
[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)
|
||||
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user