Discord Slash Command Support
quacksire opened this issue · 11 comments
It's been a year, has this progressed?
We will update this issue when it does. At the moment it’s a part of the Ascension rewrite of the plugin which we don’t recommend for use on production servers
This has been implemented in Ascension. See here for more info
Waiting on support in JDA discord-jda/JDA#1470
@child-duckling @bmd7297 what are you guys looking for specifically when it comes to slash command integration?
What would be nice, but sounds like a lot of work, is 1:1 command translation
Example:
/give @a gold_ingot
in Discord and /give @a gold_ingot
gets executed in MC.
Format:
/mcCommand (parameter) (parameter)
/op childDuckling
/stop
For ingame only commands, have it respond to that interaction
/about
/plugins
You could even make the command list be easily expandable in case people want custom / commands to be a custom ingame command (thinking vault/moderation plugins).
This would be a pretty powerful feature in itself and would be beneficial to server management as well.
@child-duckling @bmd7297 what are you guys looking for specifically when it comes to slash command integration?
Personally, I was just hoping to replace the !cmd
style commands with "proper" /cmd
style commands.
Maybe even canned responses could be implemented as /commands
, so instead of saying something like !ip
you'd do /ip
or something like that.
I think if 1:1 command translation would be a thing, it might make more sense for a few reasons to make it like /run give @a gold_ingot
rather than /give @a gold_ingot
, just so there aren't conflicts or something.
If you need help with development I could try, I'm new to plugin dev and JDA, but I would love to learn and I am working on my own plugins now (https://gitlab.henlo.us/Rocketman173/briggsfirstplugin).
Waiting on support in JDA DV8FromTheWorld/JDA#1470
Any word on this @Scarsz? The required support in JDA has been added.