moved questions back to a folder, for customization

This commit is contained in:
Master Kwoth
2016-01-28 10:37:00 +01:00
parent 6b1a203b68
commit fbc36c094e
7 changed files with 2 additions and 22806 deletions

View File

@@ -376,7 +376,7 @@ namespace NadekoBot
internal void Reload() {
_r = new Random();
pool = new List<TriviaQuestion>();
JArray arr = JArray.Parse(Properties.Resources.questions);
JArray arr = JArray.Parse(File.ReadAllText("data/questions.txt"));
foreach (var item in arr) {
TriviaQuestion tq;