kenobi
c022cc32d5
refactor eventId parsing to separate function
...
Compile the repository / compile (pull_request) Successful in 49s
Details
Run unit tests / test (pull_request) Successful in 1m35s
Details
prepare for querying discord api for event info instead of parsing via regex
2023-07-17 22:50:24 +02:00
kenobi
137d156981
fix date string in vote message
2023-07-17 22:48:57 +02:00
kenobi
fdfe7ce404
move date parsing to separate function
Compile the repository / compile (pull_request) Successful in 1m10s
Details
Run unit tests / test (pull_request) Successful in 2m6s
Details
2023-07-17 21:30:02 +02:00
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
8f02e11dba
add ticket to emoji list
2023-07-13 22:46:14 +02:00
kenobi
ca19168cf4
add early abort message to announce watch party
2023-07-13 22:45:28 +02:00
kenobi
e8893646f0
add config values
Compile the repository / compile (pull_request) Successful in 12s
Details
Run unit tests / test (pull_request) Successful in 10s
Details
2023-07-05 23:22:25 +02:00
kenobi
e61b3a7b16
split vote message handling
2023-07-05 23:22:13 +02:00
kenobi
9383cee4a0
scaffolding for poll reroll function
2023-07-05 23:22:01 +02:00
kenobi
0748097a1f
refactor datestring function
2023-07-05 23:21:44 +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
1a13638ed9
linting
Compile the repository / compile (pull_request) Successful in 1m0s
Details
Run unit tests / test (pull_request) Successful in 1m33s
Details
2023-06-27 20:34:20 +02:00
kenobi
c351e27fdd
perform vote message check in reaction handler
Compile the repository / compile (pull_request) Successful in 1m15s
Details
Run unit tests / test (pull_request) Successful in 1m26s
Details
2023-06-27 20:23:36 +02:00
kenobi
6d3bea169e
return on bot reaction
2023-06-27 20:23:22 +02:00
kenobi
3f071c8a4e
remove duplicate check for none_of_that vote
2023-06-27 20:22:44 +02:00
kenobi
98d1ca73b5
fix newRequestId function
Compile the repository / compile (pull_request) Successful in 1m15s
Details
Run unit tests / test (pull_request) Successful in 1m29s
Details
2023-06-27 20:19:42 +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
8ad651c753
prepare unicode representation of emoji for cleaner handling as pure ASCII
...
Compile the repository / compile (pull_request) Successful in 1m45s
Details
Run unit tests / test (pull_request) Successful in 1m34s
Details
emoji handling in editors and browsers is iffy, as such a pure ascii code base is easier to handle (imho)
2023-06-26 23:51:14 +02:00
kenobi
a4a834ad27
refactor reaction handling
...
- rename
- externalise handling of none_of_that to vote controller
- base for extensions for more reaction handling
2023-06-26 23:48:52 +02:00
kenobi
e8dcfd8340
add votecontroller to consolidate handling of votes
2023-06-26 23:47:43 +02:00
kenobi
d9d1d74ef9
WIP: basic handling of adding a reaction to a message and deciding whether to reroll or not
Compile the repository / compile (pull_request) Successful in 1m21s
Details
Run unit tests / test (pull_request) Successful in 1m53s
Details
2023-06-25 22:49:21 +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
f6476c609b
fetch members of roleId from guild
2023-06-25 22:47:06 +02:00
kenobi
6220268b14
move emotes and reaction constants
2023-06-25 22:46:46 +02:00
kenobi
b6034d4fb7
use message identifiers
2023-06-25 02:20:45 +02:00
kenobi
ca0a9e3cb8
more message identifiers
2023-06-25 02:20:34 +02:00
kenobi
b8a32aab40
stub for reactionhandling
Compile the repository / compile (pull_request) Successful in 1m14s
Details
Run unit tests / test (pull_request) Successful in 1m38s
Details
2023-06-25 01:57:40 +02:00
kenobi
e3e755011d
add messageIdentifier helper
2023-06-25 01:57:30 +02:00
kenobi
5a6c66cb3e
export newRequestId from logger
2023-06-25 01:57:14 +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
8a06a661fa
adjust some files to new formatting
Compile the repository / compile (pull_request) Successful in 1m28s
Details
2023-06-24 21:05:43 +02:00
mightypanders
2d32f9b680
format many files
2023-06-24 20:56:58 +02:00
Sammy
61544feaba
Fix stupid timezone issues
2023-06-23 23:46:11 +02:00
Sammy
fa9998e92c
Unallow transcoding per default for new users
2023-06-23 21:23:54 +02:00
Sammy
3a5ea5d4ff
improve message clarity when no start date in event found
Compile the repository / compile (pull_request) Successful in 4m8s
Details
2023-06-23 19:30:17 +02:00
Sammy
45d87275bf
prevent announcement when description contains !private
Compile the repository / compile (pull_request) Successful in 1m43s
Details
2023-06-23 15:56:36 +02:00
Sammy
31e440434e
properly clean up wp announcements without event only
2023-06-23 15:51:48 +02:00
Sammy
5b98c9bf2f
Rename event files to specific case
...
We can add multiple eventhandlers per eventname. To avoid confusion and large files and to improve concise file names the event files were renamed
2023-06-23 14:37:41 +02:00
Sammy
9da8f47784
add event box to vote closed message
Compile the repository / compile (pull_request) Successful in 1m18s
Details
2023-06-22 19:38:59 +02:00
Sammy
e8c58d5ff8
add event box to create message
2023-06-22 19:35:47 +02:00
Sammy
8569a3e1e6
Create option "none of that" in voting
Compile the repository / compile (pull_request) Successful in 1m19s
Details
2023-06-22 18:53:29 +02:00
kenobi
59f5b34e5a
Merge branch 'master' into fix/movie_names_and_background_task
Compile the repository / compile (push) Successful in 1m31s
Details
2023-06-19 11:19:17 +02:00
Sammy
670a64af22
Check if less than 2 days between create and start for deciding if to close
Build a docker image for node-jellyfin-role-bot / build-docker-image (push) Successful in 1m9s
Details
2023-06-17 13:18:52 +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
mightypanders
7899aac5ce
adjust server connection message
...
Build a docker image for node-jellyfin-role-bot / build-docker-image (push) Successful in 1m22s
Details
remove extraneous repetition of the server address
2023-06-17 01:20:01 +02:00
mightypanders
26c2d91252
fix and refactor mitgucken guide
...
Build a docker image for node-jellyfin-role-bot / build-docker-image (push) Successful in 1m16s
Details
- reorder account acquisition in front of login
- rebox explainrole function
- adjust external reference to function
2023-06-17 01:13:33 +02:00
Sammy
d6300e8bec
improve movie name resolving
...
Build a docker image for node-jellyfin-role-bot / build-docker-image (push) Successful in 1m55s
Details
When creating the poll the bot will now only request movie names instead of movies
This improves the errorhandling because the movie names cannot be null
Also the movieName function filters empty movienames and will guarantee the requested number of names
2023-06-16 20:15:36 +02:00
Sammy
2fae61fc1f
change announcement message to specify MOVIE watchparties
Build a docker image for node-jellyfin-role-bot / build-docker-image (push) Successful in 1m16s
Details
2023-06-15 22:33:42 +02:00