aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2016-03-11 23:19:05 -0500
committerRapptz <[email protected]>2016-03-11 23:19:05 -0500
commit050c668eaceb063e2c22404aa0e97abf2abd5934 (patch)
tree02d5ec86d6a9d5c9686a0d91dd8e875cc3ab74f3
parentSupport ytsearch and playlists in youtube_dl_player (diff)
downloaddiscord.py-050c668eaceb063e2c22404aa0e97abf2abd5934.tar.xz
discord.py-050c668eaceb063e2c22404aa0e97abf2abd5934.zip
[commands] Add bot decorators into __all__.
-rw-r--r--discord/ext/commands/core.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/discord/ext/commands/core.py b/discord/ext/commands/core.py
index d2e79dd7..d0e40f9f 100644
--- a/discord/ext/commands/core.py
+++ b/discord/ext/commands/core.py
@@ -34,7 +34,8 @@ from .errors import *
from .view import quoted_word
__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):
@functools.wraps(coro)