Info
Version: | 1.2.2 |
Author(s): | John Marsden |
Last Update: | Monday, December 21, 2020 |
.NET Fiddle: | Create the first Fiddle |
NuGet Url: | https://www.nuget.org/packages/HandyHangoutStudios.Common |
Install
Install-Package HandyHangoutStudios.Common
dotnet add package HandyHangoutStudios.Common
paket add HandyHangoutStudios.Common
HandyHangoutStudios.Common Download (Unzip the "nupkg" after downloading)
Dependencies
- HtmlAgilityPack(>= 1.11.28)
- Microsoft.Recognizers.Text.DataTypes.TimexExpression(>= 1.4.2)
- Microsoft.Recognizers.Text.DateTime(>= 1.4.2)
- NodaTime(>= 3.0.3)
Change Log
1.2.1 -> 1.2.2
- DiscordMarkdown strings should now use the minimal number of characters needed without inserting extra characters.
1.2.0 -> 1.2.1
- Add escape characters to all instances of special characters in a string that will be going to Discord so as to be sure that special characters are preserved
1.1.0 -> 1.2.0
- Revert the change to parsing as that error should be handled by passing a reference time into the DateTimeRecognizer.RecognizeDateTime()
1.0.1 -> 1.1.0
- Fixed a bug in parsing where parsing now would return the time for the timezone of the bot.
Now, the parsing requires a timezone to reference against
- Added Html Extension Methods to convert from Html or HtmlNodes from HtmlAgilityPack to DiscordMarkdown strings.
1.0.0 -> 1.0.1
- Changed from using Period to Duration in the DateTimeV2Value Class for types of DateTimeV2Type.Duration.