[Feature] Selects v2 support (#2507)
* Initial support for new select types * Merge branch 'dev' of https://github.com/discord-net/Discord.Net into dev * some component&action row builder additions * remove redundant code * changes1 * maybe working rest part? * working-ish state? * fix some xml docs & small rework * typos * fix `ActionRowBuilder` * update DefaultArrayComponentConverter to accomodate new select-v2 types * now supports dm channels in channel selects * add a note to IF docs * add notes about nullable properties * <see langword="null"/> * update Modal.cs Co-authored-by: cat <lumitydev@gmail.com> Co-authored-by: Cenngo <cenk.ergen1@gmail.com>
This commit is contained in:
@@ -208,6 +208,9 @@ You may use as many wild card characters as you want.
|
||||
Unlike button interactions, select menu interactions also contain the values of the selected menu items.
|
||||
In this case, you should structure your method to accept a string array.
|
||||
|
||||
> [!NOTE]
|
||||
> Use arrays of `IUser`, `IChannel`, `IRole`, `IMentionable` or their implementations to get data from a select menu with respective type.
|
||||
|
||||
[!code-csharp[Dropdown](samples/intro/dropdown.cs)]
|
||||
|
||||
> [!NOTE]
|
||||
|
||||
Reference in New Issue
Block a user