An unofficial .Net wrapper for the Discord API (https://discord.com/)
This release fixes bugs with voice channel permissions and an NRE in GuildMemberUpdated
This release brings with it Text-In-Voice channel support and Forum channel support as well as bug fixes.
Users
has been changed to ConnectedUsers
within voice channels. The Users
property now gets all users who can view the channel rather than the connected users.
Thanks to the following contributors for this release
.With
methods to ActionRowBuilder (13ccc7c)IDiscordClient.GetUserAsync
impl in DiscordSocketClient
(f47f319)This release fixes a json Invalid Operation Exception when using the new permissions v2 system.
This release brings along the long awaited V2 permission system into the interaction service.
This release is compatible with 3.5.0 and should not require code adaptation.
SlashCommandBuilder
/SlashCommandOptionBuilder
(0554ac2)This release brings with it bug fixes and API changes.
This release changes the IGuild.GetBansAsync
behavior per this commit. Any code referencing the get guild bans functions must be updated to the newer version supporting pagination.
Thanks to the following contributors for this release
RespondWithModalAsync<T>()
for modifying the modal (d2118f0)before
entity being incorrect (bfd0d9b)This release fixes some bugs as well as adds some minor features.
This release removes one of the CreateRoleAsync
methods on the SocketGuild/RestGuild classes. The reason for this is without fully qualifying all the parameters there was a ambiguous reference, see #2181
Please make sure your codebase uses the correct CreateRoleAsync
function.
This release brings with it Complex parameters to the interaction service (docs here). This release also adds support for sending MessageFlags
with messages, currently only MessageFlags.SuppressEmbeds
is supported.
This version changes the method signature of SendMessageAsync
, any third party libraries using this method will need to be updated. Besides the method change all the rest of the changes are additions + bug fixes, this version is compatible with code from 3.3.2
Thanks to the following contributors for this release
This release fixes a few impactful bugs including bots not being able to receive interactions in dms.
This release adds support for Modals and Slash Command file parameters.
Check out the getting started guide for modals and text input component docs.
Currently theres no docs for this yet but its relativly simple to include in your slash command handlers
[SlashCommand("attachment", "test an attachment")]
public async Task AttachmentAsync([Summary("file", "The attachment to upload")]IAttachment attachment)
{
await RespondAsync($"Got {attachment.Filename}! {attachment.ProxyUrl}");
}