Test WPF Desktop App with Caliburn And RestSharp

This commit is contained in:
2019-02-26 01:26:03 +01:00
parent 35bd2890ed
commit e8fd116eab
38 changed files with 996 additions and 30 deletions

View File

@@ -1,4 +1,5 @@
using System.IO;
using System;
using System.IO;
namespace LaDOSE.DiscordBot.Service
{
@@ -48,7 +49,7 @@ namespace LaDOSE.DiscordBot.Service
string returnText = "";
var text = File.ReadAllText(db);
var i = 0;
foreach (var line in text.Split('\n'))
foreach (var line in text.Split())
{
if(!string.IsNullOrEmpty(line))
returnText += $"{++i}. {line}";