mirror of
				https://github.com/Rapptz/discord.py.git
				synced 2025-10-24 18:13:00 +00:00 
			
		
		
		
	[commands] Export is_nsfw check.
This commit is contained in:
		| @@ -37,7 +37,7 @@ from . import converter as converters | |||||||
| __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', |             '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): | def wrap_callback(coro): | ||||||
|     @functools.wraps(coro) |     @functools.wraps(coro) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user