Commit Graph

2 Commits

Author SHA1 Message Date
84a0d7bbe1 turn all slash command replies into an ephemeral message
Setting ephemeral has to happen in an initial reply (reply() or
deferReply()) to set the mode for all replies in this 'thread'. Once the
ephemeral state of a message has been set it can not be changed. If you
want to send a visible message after an ephemeral message it has to be
new message. See https://discordjs.guide/slash-commands/response-methods.html#ephemeral-responses
2023-06-06 23:27:41 +02:00
2a03cd7589 add event to handle incoming interaction creation events
every fired slash command is actually an event which needs to be handled
and deferred to the correct command interaction handler.
2023-06-04 01:00:04 +02:00