Send and Reply from the editable-commands plugin do the same wrong thing.
So I tried out both of them and none seems to respond on the interaction.
what I want: image 1
what I get; image 2
My code:
Is the
editable-commands
plugin not ment for interaction responses?
If not, what is the correct way to implement a response / ephemeral reponse?13 Replies
I found this in the DJS Docs, not sure tho how its related to the implementation with Sapphire
Sapphire is merely a wrapper over DJS
It literally does nothing but provide a way to define a command and have it ran when a specific text is sent
So anything in DJS is valid Sapphire code
absolutely! I think the question is more about the plugin
is the send and reply not ment as interaction reply
but a text reply
I believe you'd have to respond to the interaction and the do a follow up
ahh wait are interaction replys called
response
?no
do I understand correctly that this
editable-commands
plugin is for text commands not slash commands?now that I don't know for certain so I won't comment
I would bet you it has logic to handle both
I belive its only for Message, not
Interaction
so I kinda answered my Question myself LOL.
the other question would be how to use iinteraction responses correctly in Subcommands.
the same way you would with a normal command
what is a normal command? a textbase command like !ping or a slash command like /ping?
both
by normal I meant one without subcommands