discord / discord-api-docs

Official Discord API Documentation
https://discord.com/developers/docs/intro
Other
6k stars 1.26k forks source link

Select which /slash commands you can use in a channel #2792

Closed Mqxx closed 3 years ago

Mqxx commented 3 years ago

Description

Please add a function with which you can select which /slash commands you can use in a channel ... (for example in a list)

Why This is Needed

If you have 2 different /slash commands you cannot set which of the two you can use in the channel. You can only set whether you can use /slash commands.

If you have a /clear command and a /ping command you can only use both or neither. This becomes a problem when you have a channel in which you are not allowed to clear messages but want to use the /ping command.

Because then you have to do a workaround by querying the channel in the command and handle the error.

Alternatives Considered

Currently there is only the possibility to set general rights for all /slash commands in a channel.


Thanks ~Mqx

A5rocks commented 3 years ago

Isn't this basically #2324 ?

Mqxx commented 3 years ago

Yea

Mqxx commented 3 years ago

I'll close this issue