示例#1
0
        public static async Task JobTask(FinalConfig config, DiscordClient discord)
        {
            while (true)
            {
                await discord.UpdateStatusAsync(new DiscordActivity(config.StatusText, ActivityType.ListeningTo));

                Thread.Sleep(30000);
            }
        }
示例#2
0
 public AdminModule(IServiceProvider services, FinalConfig config)
 {
     _services = services;
     _config   = config;
 }
示例#3
0
 public HelpModule(FinalConfig config)
 {
     _config = config;
 }
示例#4
0
 public FaqModule(IFaqProvider faqProvider, FinalConfig config)
 {
     _faqProvider = faqProvider;
     _config      = config;
 }