Commit Graph

38 Commits

Author SHA1 Message Date
0ba867b23a add 'mitgucken' guide on how to join JF Syncplay group 2023-06-08 19:11:00 +02:00
3294d9ca77 make jf roles configurable via env vars 2023-06-08 17:10:06 +02:00
e234e9f68f Merge pull request 'Logging and ephemeral messages' (#11) from dev into master
Reviewed-on: #11
2023-06-08 00:19:14 +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
efd4d69c74 add ids to logging 2023-06-06 23:27:07 +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
d3fff38e36 implemented handling of password resets 2023-06-04 03:14:45 +02:00
11dac10a07 Added handler for password reset command 2023-06-04 03:10:33 +02:00
7e37641e0b finally use request id 2023-06-04 01:09:24 +02:00
5db37b0e95 handler now creates and disables/enables users 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
4917fe11da fix authentication by not authenticating 2023-06-03 22:06:23 +02:00
f91157467d fix start phase 2023-06-03 22:04:31 +02:00
c400895450 update client 2023-05-04 23:38:51 +02:00
3ae97b6f66 fix memberupdate 2023-05-04 23:38:34 +02:00
389d8387ee remove useraccount handler 2023-05-04 23:38:20 +02:00
2e99a98e2d nvmrc, package updates 2023-05-04 23:38:11 +02:00
08996386ca jellyfin api -> fetch 2023-05-04 23:37:47 +02:00
8e3f62c670 WIP: update user, remove user 2023-04-20 20:54:20 +02:00
3494a6ea14 extend maybe type 2023-04-20 20:54:07 +02:00
b01700df6c WIP: use guildmember in jf handler, start user creation 2023-04-18 23:46:26 +02:00
4ff8c83cdf WIP: handle update of user, determine changed roles and hand over to JF 2023-04-18 23:45:36 +02:00
b17d0144df temp remove addUser wrapper function 2023-04-18 23:45:09 +02:00
f18357351c nodemon install 2023-04-18 23:44:50 +02:00
257f7e775d export jellyfinhandler 2023-04-18 23:44:42 +02:00
4ae5989fd5 add interfaces 2023-04-18 23:44:31 +02:00
c28b37b0e9 add function to filter the role changes from member update 2023-04-18 23:44:14 +02:00
92d8f805b6 flesh out startup, connect to jf, handover to discordjs 2023-04-16 02:04:34 +02:00
a80ccb6bfd add: JF handler to take care of JF interactions 2023-04-16 02:04:08 +02:00
901daa4f10 use jf handler in client 2023-04-16 02:03:39 +02:00
75aae28cbb scaffold adduser function 2023-04-16 02:02:40 +02:00
ddefd2ef2a fix failure dm 2023-04-16 02:02:22 +02:00
f5be22fb6f rework config and logger 2023-04-16 02:02:15 +02:00
e17c7601da delete unused files 2023-04-16 02:01:56 +02:00
3d2022d1dd bot base 2023-04-15 22:06:35 +02:00
8dd89f151e add jellyfin api 2023-04-15 22:02:40 +02:00
693a3bd8fd initial commit 2023-04-15 22:02:06 +02:00