public ModerationModule(DataService data, DiscordSocketClient client, LogHandler log, GoogleCalendar calendar,
                         PlaytestService playtestService, InteractiveService interactive)
 {
     _playtestService = playtestService;
     _calendar        = calendar;
     _data            = data;
     _client          = client;
     _log             = log;
     _interactive     = interactive;
 }
        public VoiceChannelHandler(DataService dataService, DiscordSocketClient client, PlaytestService playtestService,
                                   LogHandler log)
        {
            Console.WriteLine("Setting up VoiceChannelHandler...");
            _dataService     = dataService;
            _client          = client;
            _playtestService = playtestService;
            _log             = log;

            _client.UserVoiceStateUpdated += UserVoiceStateUpdated;
        }
示例#3
0
        public ScheduleHandler(DataService data, DiscordSocketClient client, LogHandler log, PlaytestService playtestService
                               , UserHandler userHandler, Random random)
        {
            Console.WriteLine("Setting up ScheduleHandler...");
            _playtestService = playtestService;
            _log             = log;
            _data            = data;
            _client          = client;
            _userHandler     = userHandler;
            _random          = random;

            //Fluent Scheduler init and events
            JobManager.Initialize(new Registry());

            JobManager.JobStart     += FluentJobStart;
            JobManager.JobEnd       += FluentJobEnd;
            JobManager.JobException += FluentJobException;
        }
示例#4
0
 public void PostStartSetup(PlaytestService playtestService)
 {
     _playtestService = playtestService;
 }