// Path: core/src/main/java/org/aimlang/core/channels/ChannelType.java
// public enum  ChannelType {
//     CONSOLE, VK, FACEBOOK, REST, WEBSOCKET
// }
// 
// Path: core/src/main/java/org/aimlang/core/consts/AimlConst.java
// public class AimlConst {
// 
//     public static final String AIML_FILE_SUFFIX = ".aiml";
// 
//     private static String root_path = Path.of("./bots/src/main/resources".replace("/",File.separator))
//             .toAbsolutePath().toString();
//     public static final String default_bot_name = "jokebot";
//     public static final String error_bot_response = "Something is wrong with my brain.";
//     public static final String default_bot_response = "I have no answer for that.";
//     public static final String default_topic = "unknown";
//     public static final String default_that = "unknown";
//     public static final String null_input = "#NORESP";
//     public static boolean debug = false;
// 
//     public static String getRootPath() {
//         return root_path;
//     }
// 
//     public static void setRootPath(String newRootPath) {
//         root_path = newRootPath;
//     }
// }
// 
// Path: core/src/main/java/org/aimlang/core/bot/BotBuilder.java
// public static BotBuilder bot() {
//     return new BotBuilder(AimlConst.default_bot_name);
// }
// 
// Path: core/src/main/java/org/aimlang/core/chat/ChatContextStorageFactory.java
// public static InMemoryChatContextStorage inMemory() {
//     return new InMemoryChatContextStorage();
// }


import org.aimlang.core.channels.ChannelType;
import org.aimlang.core.consts.AimlConst;
import static org.aimlang.core.bot.BotBuilder.bot;
import static org.aimlang.core.chat.ChatContextStorageFactory.inMemory;
package org.aimlang.app;



/**
 * @author batiaev
 * @since 30/06/15
 */
public class App {
    public static void main(String[] args) {
        if (args.length < 1)
            throw new IllegalStateException("user name is required!");
        var userName = args[0];

// Path: core/src/main/java/org/aimlang/core/channels/ChannelType.java
// public enum  ChannelType {
//     CONSOLE, VK, FACEBOOK, REST, WEBSOCKET
// }
// 
// Path: core/src/main/java/org/aimlang/core/consts/AimlConst.java
// public class AimlConst {
// 
//     public static final String AIML_FILE_SUFFIX = ".aiml";
// 
//     private static String root_path = Path.of("./bots/src/main/resources".replace("/",File.separator))
//             .toAbsolutePath().toString();
//     public static final String default_bot_name = "jokebot";
//     public static final String error_bot_response = "Something is wrong with my brain.";
//     public static final String default_bot_response = "I have no answer for that.";
//     public static final String default_topic = "unknown";
//     public static final String default_that = "unknown";
//     public static final String null_input = "#NORESP";
//     public static boolean debug = false;
// 
//     public static String getRootPath() {
//         return root_path;
//     }
// 
//     public static void setRootPath(String newRootPath) {
//         root_path = newRootPath;
//     }
// }
// 
// Path: core/src/main/java/org/aimlang/core/bot/BotBuilder.java
// public static BotBuilder bot() {
//     return new BotBuilder(AimlConst.default_bot_name);
// }
// 
// Path: core/src/main/java/org/aimlang/core/chat/ChatContextStorageFactory.java
// public static InMemoryChatContextStorage inMemory() {
//     return new InMemoryChatContextStorage();
// }


// Path: app/src/main/java/org/aimlang/app/App.java
import org.aimlang.core.channels.ChannelType;
import org.aimlang.core.consts.AimlConst;
import static org.aimlang.core.bot.BotBuilder.bot;
import static org.aimlang.core.chat.ChatContextStorageFactory.inMemory;

package org.aimlang.app;



/**
 * @author batiaev
 * @since 30/06/15
 */
public class App {
    public static void main(String[] args) {
        if (args.length < 1)
            throw new IllegalStateException("user name is required!");
        var userName = args[0];

        var bot = bot(AimlConst.default_bot_name)