From c20ba51e287f33781db5cb53c522ffa22d002422 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Fri, 5 May 2017 20:21:28 -0400 Subject: [PATCH] [commands] Export is_nsfw check. --- discord/ext/commands/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/ext/commands/core.py b/discord/ext/commands/core.py index fb1bce5aa..2f6eda14a 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)