Please add prevention for duplicated application commands #4498
Unanswered
DanieliusDev
asked this question in
API Feature Requests & Ideas
Replies: 1 comment
-
the current behavior is intended and relied on by bots, breaking it would be bad |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When you create a application command for a bot with the same name as application guild command that guild has the same command from that bot.
ways to fix this
option 1
check if a command already exists by a bot in every guild when in the registering command process, if the command exists, do not add the command.
option 2
add a option in the request body named something like
duplicate
with is aboolean
which is defaulted totrue
.if
true
create duplicated commands like the current api doesif
false
use option 1i think this would be a brilliant idea bc sometimes you will end up duplicating commands by accident.
Beta Was this translation helpful? Give feedback.
All reactions