Fixed double newline in logs

This commit is contained in:
Kwoth 2016-08-25 17:20:39 +02:00
parent 4dbd1cd4b4
commit d1e6501b62

View File

@ -108,9 +108,9 @@ namespace NadekoBot
"Server: {1}\n\t" +
"Channel: {2}\n\t" +
"Message: {3}",
imsg.Author + " [" + imsg.Author.Id + "]\n\t", // {0}
(channel == null ? "PRIVATE" : channel.Guild.Name + " [" + channel.Guild.Id + "]") + "\n\t", // {1}
(channel == null ? "PRIVATE" : channel.Name + " [" + channel.Id + "]") + "\n\t", //{2}
imsg.Author + " [" + imsg.Author.Id + "]", // {0}
(channel == null ? "PRIVATE" : channel.Guild.Name + " [" + channel.Guild.Id + "]"), // {1}
(channel == null ? "PRIVATE" : channel.Name + " [" + channel.Id + "]"), //{2}
imsg.Content, // {3}
sw.Elapsed.TotalSeconds // {4}
);
@ -123,9 +123,9 @@ namespace NadekoBot
"Channel: {2}\n\t" +
"Message: {3}\n\t" +
"Error: {4}",
imsg.Author + " [" + imsg.Author.Id + "]\n\t", // {0}
(channel == null ? "PRIVATE" : channel.Guild.Name + " [" + channel.Guild.Id + "]") + "\n\t", // {1}
(channel == null ? "PRIVATE" : channel.Name + " [" + channel.Id + "]") + "\n\t", //{2}
imsg.Author + " [" + imsg.Author.Id + "]", // {0}
(channel == null ? "PRIVATE" : channel.Guild.Name + " [" + channel.Guild.Id + "]"), // {1}
(channel == null ? "PRIVATE" : channel.Name + " [" + channel.Id + "]"), //{2}
imsg.Content,// {3}
t.ErrorReason, // {4}
sw.Elapsed.TotalSeconds //{5}