Add <Client>.addCommand() or <Client>.setCommands() #7471
Closed
DanieliusDev
started this conversation in
Ideas
Replies: 1 comment
-
No thank you. We already have functions available to register commands in Command handling is not a core component of discord.js and should instead be handled in frameworks like Sapphire. |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
add a function to Client that can make a Application or Guild command based on what you put.
examle:
this could simplify the command handling process because this function would push the command to discord for you, also you can add a registerCommands() function Client so the user can call this function to push the commands to discord when they have finished adding their commandts to the client.
I am currently making a Project that i have made this feature in, i can send the github for it when im done with it.
Beta Was this translation helpful? Give feedback.
All reactions