discordjs / Commando

Official command framework for discord.js
Apache License 2.0
497 stars 243 forks source link

Support `<#channelid>` input for non-text channels. #397

Open PsnDth opened 3 years ago

PsnDth commented 3 years ago

It's a manual process on the user side, but category and voice channels can be embedded in the same way as text channels. The regex should be updated to support that argument input as well.

(It's pretty easy to do so, can create a PR as well)

dukeofsussex commented 3 years ago

Do you mean additional argument types? Because those already exist.

PsnDth commented 3 years ago

Not an additional type, the existing category-channel and voice-channel argument types only support entering the ID of the channel or the name of the channel. They don't support stuff like <#123456789123> if it's not a text-channel.