New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Options / Subcommands #4
Comments
Oh, my bad I forgot to implement an example of those. But basically, most of the implementation has to be manual at the moment due to discord.js lacking official "support" for Subcommands. I will work on an update to this now to make it part of the ApplicationCommand template. |
that was fast with the answer O.o how long do you think you need for the update? |
I'll try to get it updated by the end of today :) |
can you post a comment again in this Issue when you are done? ^^ |
@NewtTheWolf should be fixed now with the latest commit with examples too. If there continue to be issues reopen the issue/create a new one. |
sorry to bother you again How does it work now with the input options? E.g. .addStringOption((option) => {
option.setName('message').setDescription('The message to reply with.');
}) |
I'm not sure I understand the problem. Could you elaborate? If possible have an entire code block example that I can replicate. |
how exactly do I work with options or subcommands?
because the template "ApplicationCommand.ts" does not support this
i'm trying to add an option to a command with
addStringOption
, but unfortunately it doesn't workThe text was updated successfully, but these errors were encountered: