Skip to content
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

Slash-command support #21

Open
Andre601 opened this issue Apr 20, 2021 · 1 comment
Open

Slash-command support #21

Andre601 opened this issue Apr 20, 2021 · 1 comment

Comments

@Andre601
Copy link

JDA is currently in the progress of adding support for Discord's Slash commands. See discord-jda/JDA#1501 for the current state and noteworthy info.

I feel like JDA-Command should consider looking at a way to natively support slash commands from JDA. I don't say you should work on something straight away, but more like thinking about what changes might be necessary to make supporting (and especially handling), slash commands easy.

I myself tried to implement support for slash-commands using the AbstractCommand class, but it's rather difficult to achieve, especially since we only have an Event here rather than a distinct entity (i.e. Message) to go from.
Especially having a proper way for supporting Command options or similar could be a major complication here.

So, I open this issue here to start an initial discussion on what jda-command could or should do to provide proper support as a command framework for Slash-commands, as I doubt that with the support from JDA, you would have a simple and good way of handling commands the way you can do in jda-command.

@rainestormee
Copy link
Owner

I will be looking into this shortly, thank you for raising this issue. I will attempt implementing using this library from an end-user's point of view with trying to implement slash commands and then work from there.

Thank you for submitting this report, I knew slash commands were being implemented into Discord but I didn't know what the current implementation status was on them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants