Skip to content

Slash-command support #21

Description

@Andre601

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.

Activity

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

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions