diff options
| author | Rapptz <[email protected]> | 2017-05-05 20:21:28 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-05-05 20:21:28 -0400 |
| commit | c20ba51e287f33781db5cb53c522ffa22d002422 (patch) | |
| tree | d8e1cc4e592073a62a024325a64dda922297140e | |
| parent | Change some format usage to use %-formatting. (diff) | |
| download | discord.py-c20ba51e287f33781db5cb53c522ffa22d002422.tar.xz discord.py-c20ba51e287f33781db5cb53c522ffa22d002422.zip | |
[commands] Export is_nsfw check.
| -rw-r--r-- | discord/ext/commands/core.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/ext/commands/core.py b/discord/ext/commands/core.py index fb1bce5a..2f6eda14 100644 --- a/discord/ext/commands/core.py +++ b/discord/ext/commands/core.py @@ -37,7 +37,7 @@ from . import converter as converters __all__ = [ 'Command', 'Group', 'GroupMixin', 'command', 'group', 'has_role', 'has_permissions', 'has_any_role', 'check', 'bot_has_role', 'bot_has_permissions', 'bot_has_any_role', - 'cooldown', 'guild_only', 'is_owner'] + 'cooldown', 'guild_only', 'is_owner', 'is_nsfw', ] def wrap_callback(coro): @functools.wraps(coro) |