public async Task Execute(IJobExecutionContext context) { await DiscordBot.LoggingChannel.SendMessageAsync($"**[RecurringHousekeepingJob]** Processing deregistrations because of no write permissions"); await DiscordUtil.FindBadGuilds(); // Run app-specific tasks await RunAppSpecificRecurringTasks(); await DiscordBot.LoggingChannel.SendMessageAsync($"**[RecurringHousekeepingJob]** Saving configuration"); // Save the configuration Configuration.LoadedConfiguration.Write(); }