Exemplo n.º 1
0
        public TriviaGame(IBotStrings strings, DiscordSocketClient client, GamesConfig config,
                          IDataCache cache, ICurrencyService cs, IGuild guild, ITextChannel channel,
                          TriviaOptions options, string quitCommand)
        {
            _cache        = cache;
            _questionPool = new TriviaQuestionPool(_cache);
            _strings      = strings;
            _client       = client;
            _config       = config;
            _cs           = cs;
            _options      = options;
            _quitCommand  = quitCommand;

            Guild   = guild;
            Channel = channel;
        }
Exemplo n.º 2
0
        public TriviaGame(NadekoStrings strings, DiscordSocketClient client, IBotConfigProvider bc,
                          IDataCache cache, ICurrencyService cs, IGuild guild, ITextChannel channel,
                          TriviaOptions options)
        {
            _log          = LogManager.GetCurrentClassLogger();
            _cache        = cache;
            _questionPool = new TriviaQuestionPool(_cache);
            _strings      = strings;
            _client       = client;
            _bc           = bc;
            _cs           = cs;
            _options      = options;

            Guild   = guild;
            Channel = channel;
        }
Exemplo n.º 3
0
        public TriviaGame(NadekoStrings strings, DiscordSocketClient client, IBotConfigProvider bc,
                          IDataCache cache, CurrencyService cs, IGuild guild, ITextChannel channel,
                          bool showHints, int winReq, bool isPokemon)
        {
            _log          = LogManager.GetCurrentClassLogger();
            _cache        = cache;
            _questionPool = new TriviaQuestionPool(_cache);
            _strings      = strings;
            _client       = client;
            _bc           = bc;
            _cs           = cs;

            ShowHints      = showHints;
            Guild          = guild;
            Channel        = channel;
            WinRequirement = winReq;
            IsPokemon      = isPokemon;
        }