Skip to content

Releases: ToshiroZ/Discord-Webhook

v1.0.9

26 Aug 14:40
4804b8f
Compare
Choose a tag to compare
  • Enhanced documentation for both the README and the actual XML-docs
  • Added a static SendAsync method to the Webhook object to allow for sending without new Webhook()
  • Added support for threads
  • Added strong name signing
  • Added a logo to the NuGet package
  • Added and enabled project-wide nullability warnings
  • Added exception handling and validation for webhook usernames (they can't include Discord)
  • Fixed a bug where usernames/avatar URLs were not setting for SendAsync(WebhookObject
  • Updated the csproj to include better descriptions, icon URLs, license expressions
  • Moved around and refactored some methods, for example I've added the SetMessageArguments method which adds the relevant username, avatar_url, etc. to the passed in WebhookObject and the GetMessageBody which returns a Dictionary<string, string> containing all of the required fields for a plaintext message