diff --git a/BGS/DiscordLogGenerator.cs b/BGS/DiscordLogGenerator.cs index b89a0fd..c83d6a2 100644 --- a/BGS/DiscordLogGenerator.cs +++ b/BGS/DiscordLogGenerator.cs @@ -66,7 +66,7 @@ namespace EliteBGS.BGS { foreach (LogFormatter formatter in formatters) { string text = formatter.GenerateLog(objective); if (!string.IsNullOrEmpty(text)) { - objlog.AppendFormat("{0}\n", text); + objlog.AppendFormat("{0}\n", text.Trim()); } } diff --git a/BGS/LogGenerator/FailedMissionFormat.cs b/BGS/LogGenerator/FailedMissionFormat.cs index 20cd1c3..a425c43 100644 --- a/BGS/LogGenerator/FailedMissionFormat.cs +++ b/BGS/LogGenerator/FailedMissionFormat.cs @@ -21,9 +21,7 @@ namespace EliteBGS.BGS.LogGenerator { ); } - builder.Append("\n"); - - return builder.ToString(); + return builder.ToString().Trim(); } } }