Skip to content

Commit

Permalink
Release 87
Browse files Browse the repository at this point in the history
Closes #37
  • Loading branch information
Plenyx committed Feb 28, 2024
1 parent 26d4fe7 commit 1a387ef
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 9 deletions.
2 changes: 1 addition & 1 deletion AppSettings/ApplicationSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace PlenBotLogUploader.AppSettings
internal sealed class ApplicationSettings
{
#region application version
internal static int Version => 86;
internal static int Version => 87;
#endregion

#region load & save functionality
Expand Down
2 changes: 1 addition & 1 deletion PlenBotLogUploader.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
<PackageReference Include="System.Data.DataSetExtensions" Version="4.5.0" />
<PackageReference Include="TextTableFormatter.NET" Version="2.0.1" />
<PackageReference Include="TwitchIrcClient" Version="1.2.2" />
<PackageReference Include="Microsoft.Windows.Compatibility" Version="8.0.0" />
<PackageReference Include="Microsoft.Windows.Compatibility" Version="8.0.2" />
</ItemGroup>
<ItemGroup>
<SupportedPlatform Include="windows" />
Expand Down
21 changes: 15 additions & 6 deletions Tools/SessionTextConstructor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -545,18 +545,27 @@ internal static DiscordEmbeds ConstructSessionEmbeds(List<DpsReportJson> reports
}
if (!builderSuccessFailure.ToString().EndsWith("***\n"))
{
messageSuccessFailureCount++;
discordEmbedsSuccessFailure.Add(MakeEmbedFromText(logSessionSettings.Name + ((messageSuccessFailureCount > 1) ? $" part {messageSuccessFailureCount}" : ""), builderSuccessFailure.ToString()));
if (builderSuccessFailure.Length != 0)
{
messageSuccessFailureCount++;
discordEmbedsSuccessFailure.Add(MakeEmbedFromText(logSessionSettings.Name + ((messageSuccessFailureCount > 1) ? $" part {messageSuccessFailureCount}" : ""), builderSuccessFailure.ToString()));
}
}
if (!builderSuccess.ToString().EndsWith("***\n"))
{
messageSuccessCount++;
discordEmbedsSuccess.Add(MakeEmbedFromText(logSessionSettings.Name + ((messageSuccessCount > 1) ? $" part {messageSuccessCount}" : ""), builderSuccess.ToString()));
if (builderSuccess.Length != 0)
{
messageSuccessCount++;
discordEmbedsSuccess.Add(MakeEmbedFromText(logSessionSettings.Name + ((messageSuccessCount > 1) ? $" part {messageSuccessCount}" : ""), builderSuccess.ToString()));
}
}
if (!builderFailure.ToString().EndsWith("***\n"))
{
messageFailureCount++;
discordEmbedsFailure.Add(MakeEmbedFromText(logSessionSettings.Name + ((messageFailureCount > 1) ? $" part {messageFailureCount}" : ""), builderFailure.ToString()));
if (builderFailure.Length != 0)
{
messageFailureCount++;
discordEmbedsFailure.Add(MakeEmbedFromText(logSessionSettings.Name + ((messageFailureCount > 1) ? $" part {messageFailureCount}" : ""), builderFailure.ToString()));
}
}
if (discordEmbedSummary is not null)
{
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
86
87

0 comments on commit 1a387ef

Please sign in to comment.