Discord.Net-Anarchy 1.4.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Discord.Net-Anarchy --version 1.4.0
                    
NuGet\Install-Package Discord.Net-Anarchy -Version 1.4.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Discord.Net-Anarchy" Version="1.4.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Discord.Net-Anarchy" Version="1.4.0" />
                    
Directory.Packages.props
<PackageReference Include="Discord.Net-Anarchy" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Discord.Net-Anarchy --version 1.4.0
                    
#r "nuget: Discord.Net-Anarchy, 1.4.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Discord.Net-Anarchy@1.4.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Discord.Net-Anarchy&version=1.4.0
                    
Install as a Cake Addin
#tool nuget:?package=Discord.Net-Anarchy&version=1.4.0
                    
Install as a Cake Tool

This is basically Discord .Net but I added some more features (back) like user login, some stuff in Group and DM-Channels, etc. All the changes that i made are listed below

WHAT I CHANGED:

DiscordSocketClient.cs:244 → added validation to check if its a user or bot token

DiscordSocketClient.cs:908 → data.Application is null for users

DiscordRestApiClient.cs:45 → add setter and Call SetBaseUrl() in there

DiscordRestApiClient.cs:96 → Add User and webhook to option and just return token without anything else

IGuild.cs:796 → created CreateNewsChannelAsync method

TokenType.cs:23 → Added user token type

TokenUtils.cs:166 → removed error message of user token

SocketGuild.cs:642 → Made User nullable in GetBansAsync

SocketGuild.cs:1503 → removed check if there are stickers in GetStickersAsync()

SocketGuild.cs:843,1941 → Created CreateNewsChannelAsync() method (+ implementation of IGuild)

GuildHelper.cs:403 → created CreateNewsChannelAsync method

ChannelHelper.cs:400 → fixed user problem with upload (aka added isbot check)

ITextChannel.cs:182 → Added GetArchivedThreadsAsync method

SocketTextChannel.cs:139 → Added GetArchivedThreadsAsync method

SocketTextChannel.cs:146 → Added GetAllThreadChannels method which gets both active an archived thread channels

SocketTextChannel.cs:406 → Implemented GetArchivedThreadsAsync method

RestTextChannel.cs:297 → Added GetArchivedThreadsAsync method

RestTextChannel.cs:337 → Implemented GetArchivedThreadsAsync method

ThreadHelper.cs:99 → added GetArchivedThreads method

SocketCustomSticker.cs:50 → added override so i can actually have the fucking author of the shitty sticker

IGroupChannel.cs:19 → added IUser Owner and string GetIconUrl()

ISocketPrivateChannel.cs:12 → Added Users and CurrentUser

RestGroupChannel.cs:20 → renamed iconId to ownerId

RestGroupChannel.cs:23 → Created public IconsId prop

RestGroupChannel.cs:30 → Added Owner Property

RestGroupChannel.cs:33 → fixed Users get

RestGroupChannel.cs:44 → fixed Recipients get

RestGroupChannel.cs:62 → fixed IconId

RestGroupChannel.cs:64 → assigned ownerId field

RestGroupChannel.cs:94 → Added GetIconUrl

SocketGroupChannel.cs:27 → renamed iconId to ownerId

SocketGroupChannel.cs:30 → Created public IconsId prop

SocketGroupChannel.cs:44 → Added Owner Property, redid Users Get and fixed Recipients Get

SocketGroupChannel.cs:49 → fixed Users get

SocketGroupChannel.cs:63 → fixed Recipients get

SocketGroupChannel.cs:85 → fixed IconId

SocketGroupChannel.cs:87 → assigned ownerId field

SocketGroupChannel.cs:112 → Added GetIconUrl

SocketGroupChannel.cs:346 → Added implementations of Users and CurrentUser

SocketDMChannel.cs:254 → Added implementations of Users and CurrentUser

RestGuild.cs:347 → Made User nullable in GetBansAsync

RestGuild.cs:726,1404 → Created CreateNewsChannelAsync() method (+ implementation of IGuild)

RestGuildEvent.cs:109 → fixed GetCoverImageUrl() method

SocketGuildEvent.cs:120 → fixed GetCoverImageUrl() method

CDN.cs:220 → Fixed event url (removed guildid) + fixed nullreference exception

FileAttachment.cs:66 → added new constrcutor that instead of taking a stream takes a byte[] of data

SocketInteractionContext.cs:16,49,92 → Replaced DiscordSocketClient with BaseSocketClient

DiscordShardedClient.cs:296 → fixed null exception if sticker is from an unknown guild

IForumChannel.cs:244 → added GetArchivedThreadsAsync method

SocketForumChannel.cs:148 → Added GetArchivedThreadsAsync method

SocketForumChannel.cs:167 → Added GetThreadChannels method which tries to get both active and archived threads from Discord

SocketForumChannel.cs:195 → Implemented GetArchivedThreadsAsync method

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
1.9.2 255 7/26/2025
1.9.1 275 10/24/2024
1.9.0 213 10/2/2024 1.9.0 is deprecated because it has critical bugs.
1.8.0 222 6/7/2024 1.8.0 is deprecated because it is no longer maintained.
1.7.2 314 2/23/2024 1.7.2 is deprecated because it is no longer maintained.
1.7.1 292 1/26/2024 1.7.1 is deprecated because it is no longer maintained.
1.7.0 504 11/20/2023 1.7.0 is deprecated because it is no longer maintained.
1.6.1 705 7/6/2023 1.6.1 is deprecated because it is no longer maintained.
1.6.0 585 7/6/2023 1.6.0 is deprecated because it has critical bugs.
1.5.5 621 5/19/2023 1.5.5 is deprecated because it is no longer maintained.
1.5.4 640 4/28/2023 1.5.4 is deprecated because it is no longer maintained.
1.5.3 649 4/27/2023 1.5.3 is deprecated because it is no longer maintained.
1.5.2 611 4/26/2023 1.5.2 is deprecated because it is no longer maintained.
1.5.1 678 4/17/2023 1.5.1 is deprecated because it has critical bugs.
1.5.0 721 4/3/2023 1.5.0 is deprecated because it has critical bugs.
1.4.8 721 3/15/2023 1.4.8 is deprecated because it is no longer maintained.
1.4.7 736 3/9/2023 1.4.7 is deprecated because it has critical bugs.
1.4.6 740 3/5/2023 1.4.6 is deprecated because it has critical bugs.
1.4.5 724 3/5/2023 1.4.5 is deprecated because it is no longer maintained.
1.4.4 741 2/13/2023 1.4.4 is deprecated because it is no longer maintained.
1.4.3 806 1/12/2023 1.4.3 is deprecated because it is no longer maintained.
1.4.2 813 1/11/2023 1.4.2 is deprecated because it is no longer maintained.
1.4.1 785 1/11/2023 1.4.1 is deprecated because it is no longer maintained.
1.4.0 811 1/6/2023 1.4.0 is deprecated because it is no longer maintained.
1.3.3 1,021 10/27/2022 1.3.3 is deprecated because it is no longer maintained.
1.3.2 963 10/26/2022 1.3.2 is deprecated because it is no longer maintained.
1.3.1 967 10/25/2022 1.3.1 is deprecated because it is no longer maintained.
1.2.12 1,008 10/24/2022 1.2.12 is deprecated because it is no longer maintained.
1.2.11 1,007 10/19/2022 1.2.11 is deprecated because it is no longer maintained.
1.2.10 992 10/19/2022 1.2.10 is deprecated because it is no longer maintained.
1.2.9 1,060 8/9/2022 1.2.9 is deprecated because it is no longer maintained.
1.2.8 1,062 8/3/2022 1.2.8 is deprecated because it is no longer maintained.
1.2.7 1,069 7/29/2022 1.2.7 is deprecated because it is no longer maintained.
1.2.6 1,062 7/26/2022 1.2.6 is deprecated because it is no longer maintained.
1.2.5 1,069 7/25/2022 1.2.5 is deprecated because it is no longer maintained.
1.2.4 1,070 7/25/2022 1.2.4 is deprecated because it is no longer maintained.
1.2.3 1,063 7/20/2022 1.2.3 is deprecated because it is no longer maintained.
1.2.2 1,082 7/7/2022 1.2.2 is deprecated because it is no longer maintained.
1.2.1 1,110 6/23/2022 1.2.1 is deprecated because it is no longer maintained.
1.2.0 1,019 6/23/2022 1.2.0 is deprecated because it is no longer maintained.
1.1.6 1,100 4/25/2022 1.1.6 is deprecated because it is no longer maintained.
1.1.4 1,030 4/25/2022 1.1.4 is deprecated because it is no longer maintained.
1.1.3 1,076 4/25/2022 1.1.3 is deprecated because it is no longer maintained.
1.1.2 1,075 4/24/2022 1.1.2 is deprecated because it is no longer maintained.
1.1.1 1,126 4/11/2022 1.1.1 is deprecated because it is no longer maintained.
1.1.0 1,138 4/8/2022 1.1.0 is deprecated because it is no longer maintained.
1.0.6 1,129 4/6/2022 1.0.6 is deprecated because it is no longer maintained.
1.0.5 1,103 4/6/2022 1.0.5 is deprecated because it is no longer maintained.
1.0.4 1,283 4/5/2022 1.0.4 is deprecated because it is no longer maintained.