diff options
| author | Rapptz <[email protected]> | 2016-03-11 23:19:05 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2016-03-11 23:19:05 -0500 |
| commit | 050c668eaceb063e2c22404aa0e97abf2abd5934 (patch) | |
| tree | 02d5ec86d6a9d5c9686a0d91dd8e875cc3ab74f3 | |
| parent | Support ytsearch and playlists in youtube_dl_player (diff) | |
| download | discord.py-050c668eaceb063e2c22404aa0e97abf2abd5934.tar.xz discord.py-050c668eaceb063e2c22404aa0e97abf2abd5934.zip | |
[commands] Add bot decorators into __all__.
| -rw-r--r-- | discord/ext/commands/core.py | 3 |
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) |