discordjs / builders

A collection of builders that you can use when creating your bot.
Apache License 2.0
97 stars 37 forks source link

Channel types for channel option #48

Closed KokoNeotSide closed 2 years ago

KokoNeotSide commented 2 years ago

New discord API change added support to specify channel type for channel option for slash commands https://discord.com/developers/docs/interactions/application-commands#application-command-object-application-command-option-structure

I'd like to request addition for this feature in this library https://github.com/discordjs/builders/blob/main/src/interactions/slashCommands/options/channel.ts

I'd do it myself but I don't know how to go about this in this repo so I keep it for the more experienced ones :)

Also I'd like to request an unblock from this repo on my main account https://github.com/DaliborTrampota as you can see I'm not here to cause any troubles, I already reported one bug and it was fixed https://github.com/discordjs/discord.js/issues/6667 and working on writing down another one bug.

ImRodry commented 2 years ago

This was added in 0.7.0: https://github.com/discordjs/builders/releases/tag/v0.7.0

KokoNeotSide commented 2 years ago

Hmm I see now, I was checking in main and couldn't find it and npm didnt find any updates either so I figured it wasn't implemented yet. Thanks.