Repository navigation
0.0.4-alpha
Pre-release
Pre-release
New Features
- Added
Webhook.SendAsync()to includeWebhookMessage - Added
Markdown.Escape() - Added the following events:
Bot.Events.OnReactionAddBot.Events.OnReactionRemoveBot.Events.OnReactionRemoveAllBot.Events.OnReactionRemoveEmoji
- Added the following
Reactionproperties:Reaction.IsGuildEmojiReaction.TypeReaction.Details
- Added
ReactionType - Added
ReactionRemove - Added
ReactionCountDetails - Added the following
Botproperties and methods:Bot.EmojisBot.GetUser()Bot.GetMember()Bot.GetEmoji()Bot.GetSticker()
- Added parameter
silentandreferencetoIMessageable.SendAsync() - Added
EmbedType.PollResult - Added
MessageApplication - Added
MessageSnapshot - Added
MessageCall - Added
StickerItem - Added
RoleSubscriptionData - Added the following
Pollproperties and methods:Poll.BotPoll.MessagePoll.VotersAsync()Poll.EndAsync()Poll.GetAnswer()
- Added constructor
Poll(string, IEnumerable<string>, TimeSpan) - Added the following
Messageproperties and methods:Message.NonceMessage.WebhookIdMessage.TypeMessage.ActivityMessage.ApplicationMessage.ApplicationIdMessage.FlagsMessage.ReferenceMessage.SnapshotsMessage.ReferencedMessageMessage.ThreadMessage.StickerItemsMessage.PositionMessage.SubscriptionDataMessage.PollMessage.CallMessage.ReplyAsync()Message.DeleteAsync()Message.PublishAsync()Message.AddReactionsAsync()Message.RemoveReactionAsync()Message.UsersForReactionAsync()Message.RemoveAllReactionsAsync()Message.GetReaction()
Updated
- Removed
Poll.Duration. Parameterdurationin thePollconstructor has been replaced and renamed: duration (int) -> expires (TimeSpan) Markdown.Codeblock(string?, string)- >Markdown.Codeblock(string, string?)Reaction.CountDetailstype (tuple) ->ReactionCountDetails- Renamed
Reaction.Colors->Reaction.BurstColors
Miscellaneous
- Set .csproj C# language version to 12.0, avoiding any possible feature conflicts