Fixes to some pokemans, higher delay between questions
This commit is contained in:
parent
86105df59a
commit
77b6d42d93
@ -136,7 +136,8 @@ namespace NadekoBot.Modules.Games.Trivia
|
||||
{
|
||||
await Channel.EmbedAsync(new EmbedBuilder().WithErrorColor()
|
||||
.WithTitle(GetText("trivia_game"))
|
||||
.WithDescription(GetText("trivia_times_up", Format.Bold(CurrentQuestion.Answer))))
|
||||
.WithDescription(GetText("trivia_times_up", Format.Bold(CurrentQuestion.Answer)))
|
||||
.WithImageUrl(CurrentQuestion.AnswerImageUrl))
|
||||
.ConfigureAwait(false);
|
||||
}
|
||||
catch (Exception ex)
|
||||
@ -144,7 +145,7 @@ namespace NadekoBot.Modules.Games.Trivia
|
||||
_log.Warn(ex);
|
||||
}
|
||||
}
|
||||
await Task.Delay(2000).ConfigureAwait(false);
|
||||
await Task.Delay(5000).ConfigureAwait(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -21,7 +21,7 @@ namespace NadekoBot.Modules.Games.Trivia
|
||||
public static TriviaQuestionPool Instance { get; } = _instance ?? (_instance = new TriviaQuestionPool());
|
||||
|
||||
private const string questionsFile = "data/trivia_questions.json";
|
||||
private const string pokemonMapPath = "data/pokemon/name-id_map2.json";
|
||||
private const string pokemonMapPath = "data/pokemon/name-id_map3.json";
|
||||
private readonly int maxPokemonId;
|
||||
|
||||
private Random rng { get; } = new NadekoRandom();
|
||||
|
File diff suppressed because it is too large
Load Diff
1
src/NadekoBot/data/pokemon/name-id_map3.json
Normal file
1
src/NadekoBot/data/pokemon/name-id_map3.json
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user