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; }
public DesignTimeDbContextFactory() { this.cfg = new BotConfigService(); this.async = new AsyncExecutionService(); }