Open Collective
Open Collective
Loading
v3.3.0
Published on February 9, 2022 by Quin Lynch

3.3.0

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

Modals

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