Discord.Net-Anarchy
1.4.4
See the version list below for details.
dotnet add package Discord.Net-Anarchy --version 1.4.4
NuGet\Install-Package Discord.Net-Anarchy -Version 1.4.4
<PackageReference Include="Discord.Net-Anarchy" Version="1.4.4" />
paket add Discord.Net-Anarchy --version 1.4.4
#r "nuget: Discord.Net-Anarchy, 1.4.4"
// Install Discord.Net-Anarchy as a Cake Addin #addin nuget:?package=Discord.Net-Anarchy&version=1.4.4 // Install Discord.Net-Anarchy as a Cake Tool #tool nuget:?package=Discord.Net-Anarchy&version=1.4.4
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:354 → Changed max of 5 to 20 in forum tags
GuildHelper.cs:403 → created CreateNewsChannelAsync method
ChannelHelper.cs:400 → fixed user problem with upload (aka added isbot check)
ITextChannel.cs:11 → Added interface IWebhookChannel
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
ForumHelper.cs:39 → added id so you can actually update tags without deleting them first
ForumHelper.cs:106 → Changed max of 5 to 20 in forum tags
ForumTagProperties.cs:21 → Added id to the constructor
ForumTag.cs:53 → Added .Build() method for easier access
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:10 → Added Interface IWebhookChannel
IForumChannel.cs:244 → added GetArchivedThreadsAsync method
SocketForumChannel.cs:17 → added DebuggerDisplay attribute
SocketForumChannel.cs:100 → made CategoryId nullable
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
SocketForumChannel.cs:176 → added DebuggerDisplay and Clone
SocketForumChannel.cs:234 → Added methods for webhooks from IWebhookChannel
RestForumChannel.cs:92 → made CategoryId nullable
SocketForumChannel.cs:208 → Added methods for webhooks from IWebhookChannel
IWebhookChannel.cs → Added class + methods for webhook creation and to get webhooks and the whole fucking tail that comes with it (will be replaced with the D .net solution after the next major update)
Thanks to Kyle:
Subscribe method to get all events for a guild that may not fire events such as messages
Usage:
DiscordSocketClient client = new DiscordSocketClient();
await client.SubscribeToGuildEvents(guild-id);
Product | Versions 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. |
-
net6.0
- Discord.Net.Analyzers-Anarchy (>= 3.9.0.4)
- Discord.Net.Commands-Anarchy (>= 3.9.0.4)
- Discord.Net.Core-Anarchy (>= 3.9.0.4)
- Discord.Net.Interactions-Anarchy (>= 3.9.0.4)
- Discord.Net.Rest-Anarchy (>= 3.9.0.4)
- Discord.Net.Webhook-Anarchy (>= 3.9.0.4)
- Discord.Net.WebSocket-Anarchy (>= 3.9.0.4)
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.0 | 44 | 10/2/2024 | |
1.8.0 | 140 | 6/7/2024 | |
1.7.2 | 238 | 2/23/2024 | |
1.7.1 | 229 | 1/26/2024 | |
1.7.0 | 463 | 11/20/2023 | |
1.6.1 | 632 | 7/6/2023 | |
1.6.0 | 502 | 7/6/2023 | |
1.5.5 | 525 | 5/19/2023 | |
1.5.4 | 536 | 4/28/2023 | |
1.5.3 | 557 | 4/27/2023 | |
1.5.2 | 515 | 4/26/2023 | |
1.5.1 | 569 | 4/17/2023 | |
1.5.0 | 608 | 4/3/2023 | |
1.4.8 | 618 | 3/15/2023 | |
1.4.7 | 631 | 3/9/2023 | |
1.4.6 | 632 | 3/5/2023 | |
1.4.5 | 610 | 3/5/2023 | |
1.4.4 | 633 | 2/13/2023 | |
1.4.3 | 695 | 1/12/2023 | |
1.4.2 | 703 | 1/11/2023 | |
1.4.1 | 649 | 1/11/2023 | |
1.4.0 | 702 | 1/6/2023 | |
1.3.3 | 863 | 10/27/2022 | |
1.3.2 | 804 | 10/26/2022 | |
1.3.1 | 817 | 10/25/2022 | |
1.2.12 | 852 | 10/24/2022 | |
1.2.11 | 850 | 10/19/2022 | |
1.2.10 | 841 | 10/19/2022 | |
1.2.9 | 905 | 8/9/2022 | |
1.2.8 | 897 | 8/3/2022 | |
1.2.7 | 915 | 7/29/2022 | |
1.2.6 | 892 | 7/26/2022 | |
1.2.5 | 895 | 7/25/2022 | |
1.2.4 | 901 | 7/25/2022 | |
1.2.3 | 891 | 7/20/2022 | |
1.2.2 | 923 | 7/7/2022 | |
1.2.1 | 950 | 6/23/2022 | |
1.2.0 | 858 | 6/23/2022 | |
1.1.6 | 933 | 4/25/2022 | |
1.1.4 | 866 | 4/25/2022 | |
1.1.3 | 899 | 4/25/2022 | |
1.1.2 | 913 | 4/24/2022 | |
1.1.1 | 949 | 4/11/2022 | |
1.1.0 | 962 | 4/8/2022 | |
1.0.6 | 954 | 4/6/2022 | |
1.0.5 | 940 | 4/6/2022 | |
1.0.4 | 1,001 | 4/5/2022 |