Schumix.SchumixBot.SchumixBot C# (CSharp) Method

SchumixBot() public method

Indulási függvény.
public SchumixBot ( ) : System
return System
        public SchumixBot()
        {
            try
            {
                Log.Notice("SchumixBot", sLConsole.GetString("Successfully started SchumixBot."));
                Log.Debug("SchumixBot", sLConsole.GetString("Network starting..."));

                string eserver = sIrcBase.FirstStart();
                sSchumixBase = new SchumixBase();
                sIrcBase.Start(eserver);

                Log.Debug("SchumixBot", sLConsole.GetString("Console starting..."));
                new ScriptManager(ScriptsConfig.Directory);
                new Console.Console(eserver);
            }
            catch(Exception e)
            {
                Log.Error("SchumixBot", sLConsole.GetString("Failure details: {0}"), e.Message);
            }
        }
SchumixBot