Beispiel #1
0
        public Bot(DiscordSocketClient client, IIOGRFetcher iogrFetcher, IScheduler scheduler, BotConfiguration botConfiguration) : base(botConfiguration)
        {
            this.iogrFetcher = iogrFetcher;
            this.scheduler   = scheduler;

            Configure(botConfiguration);
            this.client                  = client;
            this.client.Log             += LogAsync;
            this.client.Ready           += ReadyAsync;
            this.client.LoggedOut       += LoggedOutAsync;
            this.client.MessageReceived += MessageReceivedAsync;
        }
Beispiel #2
0
 public PostWeeklySeedJob(IIOGRFetcher iogrFetcher)
 {
     this.iogrFetcher = iogrFetcher;
 }