コード例 #1
0
        public GuildHandler(DataService data, DiscordSocketClient client, LogHandler log, ScheduleHandler schedule)
        {
            Console.WriteLine("Setting up GuildHandler...");

            _log      = log;
            _data     = data;
            _client   = client;
            _schedule = schedule;

            _client.GuildAvailable   += GuildAvailableEventHandler;
            _client.GuildUnavailable += GuildUnavailableEventHandler;
            _client.Ready            += ReadyEventHandler;
        }