A .NET library for making bots using the Discord API.
MIT License
Bot releases are hidden (Show)
Published by akiraveliara about 2 months ago
Contains a fix for Discord declaring that action rows are no longer the sole top-level component type even within API v10.
This is a breaking change, and all top-level components should be type-checked. A helper method has been added to DiscordMessage to get a flattened list of components of a certain type.
Full Changelog: https://github.com/DSharpPlus/DSharpPlus/compare/v4.4.9...v4.5.0
fixes #1979
Published by akiraveliara 4 months ago
Fixes a bug in v4.4.7 whereby null permissions failed to deserialize.
Published by akiraveliara 4 months ago
Relaxes Permission deserialization to accept permissions exceeding 64 bits. Such values will be truncated to precisely 64 bits.
This is in preparation to Discord reaching 65+ bits for permissions, and does not entail any semantic changes, just that once this happens the library will not crash every time it encounters a permission field.
Published by akiraveliara 10 months ago
fixes another bug with the logger factory and shared ratelimits:
Full Changelog: https://github.com/DSharpPlus/DSharpPlus/compare/v4.4.5...v4.4.6
Published by akiraveliara 10 months ago
applies the sharded client ratelimiting fix from 4.4.4 and #1703
Published by akiraveliara 10 months ago
fixes an issue where the sharded client would maintain a different ratelimiter for each shard, thus causing 429s if one shard was making a request other shards had exhausted.
this issue was originally fixed by @Plerx2493 in #1703
Full Changelog: https://github.com/DSharpPlus/DSharpPlus/compare/v4.4.3...v4.4.4
Published by akiraveliara 12 months ago
Fixes an issue with autocomplete where not registering a configuration would break autocomplete. This fix was found by @Plerx2493
Published by akiraveliara over 1 year ago
Fixes another bug in 4.4 whereby disposing and finalizing could cause problems, #1547 - thanks to @Kaoticz
Published by InFTord over 1 year ago
This is a hotfix release fixing a bug where the 4.4.0 async events would execute in parallel, but would still block the gateway. My apologies.
Published by akiraveliara over 1 year ago
Another stable release! This release contains a crucial fix to VoiceNext (all previous releases are broken, to our knowledge), forum support, changes to events and comes along with a large overhaul of the documentation.
Additionally, there have been a fair few smaller fixes and improvements over the entire library.
OrderedChannels
property by @OoLunar in https://github.com/DSharpPlus/DSharpPlus/pull/1484
debug_symbols.md
by @OoLunar in https://github.com/DSharpPlus/DSharpPlus/pull/1491
IAutocompleteProvider
by @OoLunar in https://github.com/DSharpPlus/DSharpPlus/pull/1504
Full Changelog: https://github.com/DSharpPlus/DSharpPlus/compare/v4.3.0...v4.4.0
Published by akiraveliara almost 2 years ago
We aim for this to be one of the closing releases of the v4 development cycle.
Migration should be relatively straight-forward. One important change is that you will now need to specify the message content intent in your DiscordConfiguration.Intents
property if you wish to receive message content, as a side effect of updating to v10 of the discord API.
API v10
Support for Slash Commands V2
Support for ban pagination
Support for Text-in-Voice
Support for new thread archival rules
Added command category support to CommandsNext
Added application command cooldowns to SlashCommands
Unified and abstracted all message builders for easier use
(Slightly) improved documentation
Fixed a bunch of bugs
DiscordMessage.PopulateMentions
and DiscordClient.OnMessageUpdateEventAsync
by @OoLunar in https://github.com/DSharpPlus/DSharpPlus/pull/1331
DiscordEmoji
Try* methods to not throw by @OoLunar in https://github.com/DSharpPlus/DSharpPlus/pull/1426
Full Changelog: https://github.com/DSharpPlus/DSharpPlus/compare/v4.2.0...v4.3.0
Published by OoLunar over 2 years ago
EDIT: Due to technical constraints we will be turning this rc1
into a stable release. As an alternative, we will follow semvar correctly and release patches when bugs are found (I.E, v4.2.1
). Thank you for understanding.
There may have been a few parameter shifts in the REST methods however no major breaking changes were made.
DiscordException
abstract class. This makes it easier to catch exceptions from Discord..IsDefined
extension method to Optional<T>
.git log --oneline 6591ee94fbf937681892ef973bedcc25be417d55..
Thanks to the following for contributing (sorted alphabetically):
@Aletron9000
@alexhorner
@AnriaruDoragon
@b-rad15
@bakabun
@BloodfallenTear
@DHCPCD9
@dongle-the-gadget
@DPlayer234
@DWaffles
@Emzi0767
@Epictek
@Erisa
@Erlite
@akiraveliara
@fazelukario
@FireController1847
@Foxite
@Giggitybyte
@IDoEverything
@JulianusIV
@Kaoticz
@kuylar
@Lulalaby
@MichailiK
@N0D4N
@nefarius
@Neuheit
@OoLunar
@quinchs
@redstarxx
@RocketPrinter
@roxxel
@SakuraIsayeki
@Scartzz
@Scordium
@Silverdimond
@tenhobi
@tygore587
@VelvetThePanda
@zaanposni
Published by Neuheit about 3 years ago
This version contains several new interaction based entities such as support for components, buttons, and select menus, along with various other Discord entities/endpoints. It also contains fixes for guild specific avatars, async event handler exceptions, and the guild sharding formula. You can view the full list of changes by viewing the commit history between 55d27d0ebe1cf00999a49b27a9134e6ef64fd837 and 6591ee94fbf937681892ef973bedcc25be417d55.
Special thanks to the following contributors for their work in making this release possible:
@IDoEverything
@VelvetThePanda
@Lulalaby
@N0D4N
@billyeatcookies
@kuylar
@Emzi0767
@ABCRic
@encodeous
@uwx
@nebulatgs
@JokinAce
@redstarxx
@SupinePandora43
@DWaffles
@Giggitybyte
@CloudTheWolf
@ProfDoof
@abnormal0666
@ZaptoInc
@Soyvolon
This is a minor version and contains several new classes/methods from the Discord API. You may also encounter breaking changes on a few REST methods due to more parameters being added on the their respective API endpoints.
Published by Neuheit over 3 years ago
This version contains a few fixes as well as a few dependency version upgrades and a few documentation updates.
This is a patch version and fully compatible with the previous version.
Published by Emzi0767 over 3 years ago
After over 3 years, D#+ gets another major release.
This is a major version change, and, as such it's a breaking change from 3.2 releases. Things will break if you are not already using an RC release at least.
A brief migration guide is available on our docs website.
The following people have contributed to this release:
Thank you all. This release wouldn't have been possible without your efforts.