v4.5.0
This release adds support for some small newer Discord API features, such as getting custom user statuses and creating reply messages.
New Message Create/Edit Options (#85)
- Added
AllowedMentionsproperty toCreateMessageOptionsandEditMessageOptionsfor avoiding accidental mentions in messages. - Added
CreateMessageOptions.MessageReferencefor creating reply messages. - Added new
DiscordMessageFlags:SourceMessageDeletedUrgentHasThreadEphemeralLoading
New DiscordGame (Activity) Properties (#92)
Information such as custom user statuses and rich presence details can now be read.
- Added new
DiscordGameproperties:CreatedAtTimestampsApplicationIdDetailsStateEmojiPartyAssetsSecretsInstanceFlagsButtons
- Added new
DiscordGameTypes:ListeningWatchingCustomCompeting
New GuildPrune Parameters (#84)
- Added
includeRolesparameter toGetGuildPruneCountandBeginGuildPrunefor pruning users with specific roles. - Added
computePruneCountparameter toBeginGuildPruneto allow reduced execution time for large guilds. - The
daysparameter ofGetGuildPruneCountandBeginGuildPruneis now nullable (when null Discord will use their own default).
New CDN URL Builders (#95)
- Added new static
DiscordCdnUrlbuilders and theirDiscordCdnUrlTypes:ApplicationCoverApplicationAssetAchievementIconStickerPackBannerTeamIconStickerRoleIcon
NuGet
Version 4.5.0 can be downloaded via NuGet here.