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?Solution:Jump to solution
Answer:
Dont use the
editable-commands
Plugin for responses to Slashcommands.
This is how a valid Reply looks like...27 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
what ðŸ˜
ah
they're pretty much the same outside of arguments atm
that would work
yesss it did
Solution
Answer:
Dont use the
editable-commands
Plugin for responses to Slashcommands.
This is how a valid Reply looks likeinteraction commands cannot be edited under no circumstance
editable-commands is for editing message commands
AHHH this is ment with the tracking of edits
thanks, this clears a lot of things up
How did you get amoled theme in pc?
Vencord
Isn't modded client against discord's ToS?
technically yes but no one gives a shit as long as you don't abuse the API or go into an official discord server and boast about using one
lol then i should switch to vencord