github discord-net/Discord.Net 3.3.0
v3.3.0

latest releases: 3.4.1, 3.4.0, 3.3.2...
2 years ago

[3.3.0] - 2022-02-09

This release adds support for Modals and Slash Command file parameters.

Modals

Check out the getting started guide for modals and text input component docs.

Slash Command File Parameters

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}");
        }

Added

Fixed

  • #2091 Fix modifying attachments on interactions and extend the module base (97e54e1)
  • #2076 Fix rest message components cannot pass through execute method (b45aebf)
  • #2077 Fix clone being created on updated entity (7d6f4f3)
  • #2092 Fix Current user null on reconnect (b424bb2)
  • #2089 Fix guild feature enum (d142710)
  • #2090 Fix attempts to fetch channels in interactions (6290f75)

Misc

  • #1713 Simplify code in DiscordComparers (43b20bc)
  • #2079 Add IEnumerable collection parameters instead of arrays for MessageExtensions (75e94fe)

Don't miss a new Discord.Net release

NewReleases is sending notifications on new releases.