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