public ScheduledTaskExecutor(DiscordShardedClient client, LocalizationService lcs, AsyncExecutionService async, ScheduledTask task)
 {
     this.client          = client;
     this.lcs             = lcs;
     this.async           = async;
     this.Job             = task;
     this.OnTaskExecuted += (task, _) => Task.CompletedTask;
 }
Exemple #2
0
 public DesignTimeDbContextFactory()
 {
     this.cfg   = new BotConfigService();
     this.async = new AsyncExecutionService();
 }