kenobi
e54f03292e
add a message parser to vote controller
...
Compile the repository / compile (pull_request) Successful in 1m33s
Details
Run unit tests / test (pull_request) Successful in 1m27s
Details
parses a vote message line by line to extract
- eventdate
- eventid
- movies
- votes
This depends on the structure of the message to not change substantially.
as such it's quite brittle
2023-07-13 22:47:28 +02:00
kenobi
4cd9c771f0
transfer many poll functions to VoteController
2023-07-05 22:55:24 +02:00
kenobi
8c3cf7829b
use branded types for messageType determination
2023-07-05 22:54:43 +02:00
kenobi
ee742018e9
adds comment to fetchAnnouncementChannelMessage
Run unit tests / test (pull_request) Successful in 1m54s
Details
Compile the repository / compile (pull_request) Successful in 57s
Details
2023-06-27 20:08:39 +02:00
kenobi
e8dcfd8340
add votecontroller to consolidate handling of votes
2023-06-26 23:47:43 +02:00
kenobi
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
kenobi
b6034d4fb7
use message identifiers
2023-06-25 02:20:45 +02:00
mightypanders
66f843b399
format more files
Compile the repository / compile (pull_request) Successful in 1m12s
Details
2023-06-24 21:09:56 +02:00
mightypanders
2d32f9b680
format many files
2023-06-24 20:56:58 +02:00
Sammy
4cc332820f
prevent poll close if event is less than 24h old
Build a docker image for node-jellyfin-role-bot / build-docker-image (push) Successful in 1m15s
Details
2023-06-17 13:03:48 +02:00
Sammy
07849d331a
move scheduling of pollclose task to startup
...
Build a docker image for node-jellyfin-role-bot / build-docker-image (push) Successful in 1m37s
Details
Also moved check function to closepoll.ts
2023-06-17 12:00:14 +02:00
Sammy
71ffc6ba50
use yavin to get random movies
2023-06-15 22:33:22 +02:00
Sammy
5b99c843b4
Fix PR and linting issues
2023-06-15 21:56:15 +02:00
Sammy
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
Sammy
e774474a55
Put role handling in background task scheduled at startup
2023-06-13 18:58:41 +02:00
Sammy
c0369fcb49
Fetch announcement channel at server start
2023-06-12 20:27:54 +02:00
Sammy
892562cd0b
Automatically create and disable users based on watch event
2023-06-04 15:02:03 +02:00
mightypanders
c400895450
update client
2023-05-04 23:38:51 +02:00
mightypanders
901daa4f10
use jf handler in client
2023-04-16 02:03:39 +02:00
mightypanders
3d2022d1dd
bot base
2023-04-15 22:06:35 +02:00