def test_command_decorators(coroutine): assert is_Command(commands.command(name="cmd")(coroutine)) assert is_Group(commands.group(name="grp")(coroutine))
def help_formatted_group(name=None, cls=HelpFormattedGroup, **attrs): return commands.group(name, cls, **attrs)