Search in sources :

Example 1 with SetupRepeat

use of com.github.vaerys.commands.setup.SetupRepeat in project DiscordSailv2 by Vaerys-Dawn.

the class CommandInit method getSetupCommands.

public static ArrayList<Command> getSetupCommands() {
    ArrayList<Command> commands = new ArrayList<>();
    // step 1
    commands.add(new Module());
    commands.add(new HelpModules());
    // step 2
    commands.add(new Toggle());
    commands.add(new HelpSettings());
    // Setup Traversal Commands
    commands.add(new SetupBack());
    commands.add(new SetupNext());
    commands.add(new SetupQuit());
    commands.add(new SetupRepeat());
    validate(commands);
    return commands;
}
Also used : Command(com.github.vaerys.templates.Command) ArrayList(java.util.ArrayList) SetupQuit(com.github.vaerys.commands.setup.SetupQuit) SetupBack(com.github.vaerys.commands.setup.SetupBack) SetupRepeat(com.github.vaerys.commands.setup.SetupRepeat) SetupNext(com.github.vaerys.commands.setup.SetupNext)

Aggregations

SetupBack (com.github.vaerys.commands.setup.SetupBack)1 SetupNext (com.github.vaerys.commands.setup.SetupNext)1 SetupQuit (com.github.vaerys.commands.setup.SetupQuit)1 SetupRepeat (com.github.vaerys.commands.setup.SetupRepeat)1 Command (com.github.vaerys.templates.Command)1 ArrayList (java.util.ArrayList)1