[commands] Add bot decorators into __all__.
This commit is contained in:
parent
fc2127789a
commit
050c668eac
@ -34,7 +34,8 @@ from .errors import *
|
|||||||
from .view import quoted_word
|
from .view import quoted_word
|
||||||
|
|
||||||
__all__ = [ 'Command', 'Group', 'GroupMixin', 'command', 'group',
|
__all__ = [ 'Command', 'Group', 'GroupMixin', 'command', 'group',
|
||||||
'has_role', 'has_permissions', 'has_any_role', 'check' ]
|
'has_role', 'has_permissions', 'has_any_role', 'check',
|
||||||
|
'bot_has_role', 'bot_has_permissions', 'bot_has_any_role' ]
|
||||||
|
|
||||||
def inject_context(ctx, coro):
|
def inject_context(ctx, coro):
|
||||||
@functools.wraps(coro)
|
@functools.wraps(coro)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user