CaH . Fix start answers

This commit is contained in:
2022-07-31 02:06:26 +02:00
parent c284d5877b
commit f1d7236c72

View File

@@ -58,7 +58,7 @@ namespace LaDOSE.DiscordBot.Command
var q = Questions[rnd.Next(Questions.Count - 1)]; var q = Questions[rnd.Next(Questions.Count - 1)];
var s = q.Split('_', StringSplitOptions.RemoveEmptyEntries); var s = q.Split('_', StringSplitOptions.None);
if (s.Length == 1) if (s.Length == 1)
{ {
response += q + " " + Answers[rnd.Next(Answers.Count - 1)]; response += q + " " + Answers[rnd.Next(Answers.Count - 1)];