def group(*args, **kwargs): if 'pass_context' not in kwargs: kwargs['pass_context'] = True ret = commands.group(*args, **kwargs) return ret