Commit Graph

9 Commits

Author SHA1 Message Date
1e1ab93667 Fix edgecases for automatic user creation
- make eventdescription !wp case insensitive

- Create accounts for users in channel without subscription when event starts

- Make sent messages caused by VoiceState event dependant on creation result (created, enabled)

- Create tmp user if normal user exists but is disabled
2023-06-09 23:56:45 +02:00
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
64c5874249 further handling of automatic user adding/deleting 2023-06-04 16:35:43 +02:00
892562cd0b Automatically create and disable users based on watch event 2023-06-04 15:02:03 +02:00
7e37641e0b finally use request id 2023-06-04 01:09:24 +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
3ae97b6f66 fix memberupdate 2023-05-04 23:38:34 +02:00
4ff8c83cdf WIP: handle update of user, determine changed roles and hand over to JF 2023-04-18 23:45:36 +02:00
3d2022d1dd bot base 2023-04-15 22:06:35 +02:00