public static async Task JobTask(FinalConfig config, DiscordClient discord) { while (true) { await discord.UpdateStatusAsync(new DiscordActivity(config.StatusText, ActivityType.ListeningTo)); Thread.Sleep(30000); } }
public AdminModule(IServiceProvider services, FinalConfig config) { _services = services; _config = config; }
public HelpModule(FinalConfig config) { _config = config; }
public FaqModule(IFaqProvider faqProvider, FinalConfig config) { _faqProvider = faqProvider; _config = config; }