DNetPlus 1.2.1
dotnet add package DNetPlus --version 1.2.1
NuGet\Install-Package DNetPlus -Version 1.2.1
<PackageReference Include="DNetPlus" Version="1.2.1" />
paket add DNetPlus --version 1.2.1
#r "nuget: DNetPlus, 1.2.1"
// Install DNetPlus as a Cake Addin
#addin nuget:?package=DNetPlus&version=1.2.1
// Install DNetPlus as a Cake Tool
#tool nuget:?package=DNetPlus&version=1.2.1
Info
This is a fork of Discord.net v2.3.0-dev-20200904.2 with many tweaks and added functionality instead of waiting months for them.
Install
Remove any discord.net packages such as discord.net.commands, discord.net.websocket, discord.net.webhook and install the package from nuget with https://www.nuget.org/packages/DNetPlus
Addons
You can install these optional addons to extend the functionality of DNetPlus. https://github.com/xXBuilderBXx/DNetPlus-Addons
Fixes/Tweaks by me
Increase connection wait limit instead of timeouts
- This helps with bigger bots with 15+ shards to connect better.
-
- Allows you to get a shard id from a guild id. Client.GetShardForId(12345)
Allowed mentions property on modifymessage
- Adds allowed mentions property when modifying a message, useful because editing a message resets allowed mentions by default.
Ignore integration update events | Integration create/remove
- New event type that is now ignored instead of spamming console logs.
Expose config for client and add ownerids override list for team/external users
- new DiscordSocketConfig { OwnerIds = new ulong[] { 190590364871032834 } };
- This also works with RequireOwner command attribute.
- Exposed config allows you to get Client.baseConfig properties from DiscordSocketConfig instead of being hidden.
Add command info to the command context
- Allows you to get command info from the current command executed with Context.Command.
-
- Customize the version string from X.X.X to X.X.X (Custom DNetPlus)
Fixes/Tweaks by others
Limit request members batch size due to intents from Discord.Net/pull/1647
- Fixes an issue with downloading all guild members when using intents.
Rename and update guildembed to guildwidget from Discord.Net/pull/1573
- Just some cleanup of old discord.net code.
Add missing guild properties from Discord.Net/pull/1573
- Missing guild properties are for Discovery Splash, Rules channel, Max presence count, Max member count, Public updates channel, Approximate member count for online and current count using rest with the withCounts: true option.
- Getting approximate member and presence count requires you to do GetGuildAsync(12345, withCounts: true)
Fix OperationCancelledException and thread blocking from Discord.Net/pull/1562
- Ignore operationcancelled exception in logs and less thread blocking.
Fix DM permissions not having add reactions from Discord.Net/pull/1244
- This has not been fixed in discord.net since January 2019.... untill now.
Add status and game on identify from Discord.Net/pull/1444
- Allows you to set a status and game property on Client.StartAsync()
Add missing overwrite permissions from Discord.Net/pull/1642
- Fixes some missing overwrite perms like priority voice and video.
Add view guild insights permission from Discord.Net/pull/1619
Add allowed mentions to webhooks from Discord.Net/pull/1602
Detect disallowed intents and add warning from Discord.Net/pull/1603
- Without this fix the client would just keep reconnecting with disallowed intents.
Handle null prefered locale from Discord.Net/pull/1624
- This only happens in rare cases but worth fix to not break guild stuff.
Fix websocket regex in some cases from Discord.Net/pull/1637
Allow UserUpdate to be invoked from GuildMemberUpdate from Discord.Net/pull/1623
- This allows for some global changes like username/avatar to be fired from UserUpdate without the Presence Intent.
Add team properties to the application info from Discord.Net/pull/1604
Add include roles option for guild prune users from Discord.Net/pull/1581
- Allows you to select a list of roles to include in the prune users aside from just no roles.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.0 is compatible. netcoreapp3.1 was computed. |
-
.NETCoreApp 3.0
- Newtonsoft.Json (>= 12.0.3)
- System.Collections.Immutable (>= 1.3.1)
- System.Interactive.Async (>= 4.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|
Fork of discord.net with many tweaks and added functionality instead of waiting months for them.