//デバッグ用
        //public event EventHandler debugEvent;
        //public bool debug;

        public EventAdmin(AbstractEventGetter emgGetter, AbstractChanpionGetter chanpion)
        {
            pso2Event        = new List <Event>();
            chpTimeList      = new List <DateTime>();
            nextChpTimeIndex = 0;

            this.emgGetter      = emgGetter;
            this.chanpionGetter = chanpion;
            getEmgFromNet();
            getChanpionFromNet();
            //setChpTimeList("chp.csv");
            setDailyPost();
            setRodosDay();

            this.EventLoopTask = startEventLoop();

            //debug = false;
        }
        private void init(configure conf)
        {
            HttpGetUrl  = "https://akakitune87.net/api/v4/pso2emergency";
            chanpionUrl = "https://xpow0wu0s5.execute-api.ap-northeast-1.amazonaws.com/v2";

            hc        = new HttpClient();
            emgGetter = new aki_luaEventGetter(HttpGetUrl, hc);
            chGetter  = new aki_luaChanpionGetter(chanpionUrl, hc);
            service   = new DiscordService(conf.url, hc);
            admin     = new EventAdmin(emgGetter, chGetter);
            bot       = new botController(service, admin);

            bot.rodos = conf.rodos;
            bot.chp   = conf.chp;

            this.chpFile = conf.xmlFile;

            if (chpFile != "")
            {
                admin.setChpTimeList(chpFile);
            }
        }