Skip to content

0.0.4-alpha

Pre-release
Pre-release

Choose a tag to compare

@Defxult Defxult released this 05 Dec 05:04
· 3 commits to master since this release

New Features

  • Added Webhook.SendAsync() to include WebhookMessage
  • Added Markdown.Escape()
  • Added the following events:
    • Bot.Events.OnReactionAdd
    • Bot.Events.OnReactionRemove
    • Bot.Events.OnReactionRemoveAll
    • Bot.Events.OnReactionRemoveEmoji
  • Added the following Reaction properties:
    • Reaction.IsGuildEmoji
    • Reaction.Type
    • Reaction.Details
  • Added ReactionType
  • Added ReactionRemove
  • Added ReactionCountDetails
  • Added the following Bot properties and methods:
    • Bot.Emojis
    • Bot.GetUser()
    • Bot.GetMember()
    • Bot.GetEmoji()
    • Bot.GetSticker()
  • Added parameter silent and reference to IMessageable.SendAsync()
  • Added EmbedType.PollResult
  • Added MessageApplication
  • Added MessageSnapshot
  • Added MessageCall
  • Added StickerItem
  • Added RoleSubscriptionData
  • Added the following Poll properties and methods:
    • Poll.Bot
    • Poll.Message
    • Poll.VotersAsync()
    • Poll.EndAsync()
    • Poll.GetAnswer()
  • Added constructor Poll(string, IEnumerable<string>, TimeSpan)
  • Added the following Message properties and methods:
    • Message.Nonce
    • Message.WebhookId
    • Message.Type
    • Message.Activity
    • Message.Application
    • Message.ApplicationId
    • Message.Flags
    • Message.Reference
    • Message.Snapshots
    • Message.ReferencedMessage
    • Message.Thread
    • Message.StickerItems
    • Message.Position
    • Message.SubscriptionData
    • Message.Poll
    • Message.Call
    • Message.ReplyAsync()
    • Message.DeleteAsync()
    • Message.PublishAsync()
    • Message.AddReactionsAsync()
    • Message.RemoveReactionAsync()
    • Message.UsersForReactionAsync()
    • Message.RemoveAllReactionsAsync()
    • Message.GetReaction()

Updated

  • Removed Poll.Duration. Parameter duration in the Poll constructor has been replaced and renamed: duration (int) -> expires (TimeSpan)
  • Markdown.Codeblock(string?, string) - > Markdown.Codeblock(string, string?)
  • Reaction.CountDetails type (tuple) -> ReactionCountDetails
  • Renamed Reaction.Colors -> Reaction.BurstColors

Miscellaneous

  • Set .csproj C# language version to 12.0, avoiding any possible feature conflicts