Пример #1
0
 public static void REInit()
 {
     Settings = new SeijaSettings();
     SimpleCommands = new XmlDictionary(@"Settings/SimpleCommands.ext");
     SeijaChars = new XmlDictionary(@"Settings/SeijaChars.ext");
     BND = new XmlStringsArray(@"Settings/bnd.ext");
     DongerList = new XmlStringsArray(@"Settings/DongerList.ext");
     KickList = new XmlStringsArray(@"Settings/KickList.ext");
     PastaList = new XmlStringsArray(@"Settings/PastaList.ext");
     DongerBTL = new DongerBattler();
     DongerBattler.Init();
     TwitchChecker.UpdateStreamListSaveValues();
 }
Пример #2
0
        public static void Init(/*SKYPE4COMLib.Skype sk,SkypeConnector skk*/)
        {
            skype = new Skype();
            Settings = new SeijaSettings();
            skypeConnector = new SkypeConnector(skype);
            skypeConnector.Connect();
            Seija = new Seija();

            SimpleCommands = new XmlDictionary(@"Settings/SimpleCommands.ext");
            SeijaChars = new XmlDictionary(@"Settings/SeijaChars.ext");
            BND = new XmlStringsArray(@"Settings/bnd.ext");
            DongerList = new XmlStringsArray(@"Settings/DongerList.ext");
            KickList = new XmlStringsArray(@"Settings/KickList.ext");
            PastaList = new XmlStringsArray(@"Settings/PastaList.ext");
            DongerBTL = new DongerBattler();
            DongerBattler.Init();
            TwitchChecker = new TwitchChecker();
            DotaLongueChecker = new DotaLongueChecker();
            SeijaCommander.skype.ChangeUserStatus(TUserStatus.cusOnline);
            TereziCommunicator.Init();
            Seija.sendMOTD();
        }