Commit Graph

16 Commits

Author SHA1 Message Date
e8dcfd8340 add votecontroller to consolidate handling of votes 2023-06-26 23:47:43 +02:00
331ff89060 fetch all message from announcement channel on start
This is necessary because message sent before the bot has started up are not cached and reactions will not be registered.
If the messages are cached manually the reactions will be received and can be processed using the regular event handling
2023-06-25 22:48:55 +02:00
b6034d4fb7 use message identifiers 2023-06-25 02:20:45 +02:00
66f843b399 format more files
All checks were successful
Compile the repository / compile (pull_request) Successful in 1m12s
2023-06-24 21:09:56 +02:00
2d32f9b680 format many files 2023-06-24 20:56:58 +02:00
4cc332820f prevent poll close if event is less than 24h old
All checks were successful
Build a docker image for node-jellyfin-role-bot / build-docker-image (push) Successful in 1m15s
2023-06-17 13:03:48 +02:00
07849d331a move scheduling of pollclose task to startup
All checks were successful
Build a docker image for node-jellyfin-role-bot / build-docker-image (push) Successful in 1m37s
Also moved check function to closepoll.ts
2023-06-17 12:00:14 +02:00
71ffc6ba50 use yavin to get random movies 2023-06-15 22:33:22 +02:00
5b99c843b4 Fix PR and linting issues 2023-06-15 21:56:15 +02:00
a5eab2f7be fix bug that reactions are not loaded after restart
the message needed to be fetched again. Probably something with caches..
2023-06-13 20:13:13 +02:00
e774474a55 Put role handling in background task scheduled at startup 2023-06-13 18:58:41 +02:00
c0369fcb49 Fetch announcement channel at server start 2023-06-12 20:27:54 +02:00
892562cd0b Automatically create and disable users based on watch event 2023-06-04 15:02:03 +02:00
c400895450 update client 2023-05-04 23:38:51 +02:00
901daa4f10 use jf handler in client 2023-04-16 02:03:39 +02:00
3d2022d1dd bot base 2023-04-15 22:06:35 +02:00