Commit Graph

35 Commits

Author SHA1 Message Date
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 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
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 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
Sammy 5b99c843b4 Fix PR and linting issues 2023-06-15 21:56:15 +02:00
Sammy 9420eb4366 Change announcements
All announcements but initial will be deleted upon event end.
Vote announcement will be deleted upon vote end
Vote and vote end announcement now contain date and time
2023-06-14 22:24:39 +02:00
Sammy 198a25d145 ping watch role when voting starts and closes 2023-06-13 23:15:03 +02:00
Sammy baefcf9bb9 add options for announcements 2023-06-13 21:12:32 +02:00
Sammy e774474a55 Put role handling in background task scheduled at startup 2023-06-13 18:58:41 +02:00
Sammy 24754decf4 implement announcement role management by reaction 2023-06-13 18:18:26 +02:00
Sammy a2c55ad676 restrict announcements to admins 2023-06-12 22:34:39 +02:00
Sammy e50cb10c5b implement slash command for announcement 2023-06-12 22:21:10 +02:00
Sammy fdc0fc47b5 removed unnecessary guildId: from logger calls 2023-06-12 20:36:05 +02:00
Sammy c0369fcb49 Fetch announcement channel at server start 2023-06-12 20:27:54 +02:00
Sammy 117ff23a0c remove typecast to unknown
Somehow I thought it was necessary because the compiler said it at some point
2023-06-11 15:42:31 +02:00
Sammy 550aa53188 make closepoll return when no channel found 2023-06-11 09:12:14 +02:00
Sammy 1ee55f995c minor resilience improvement and formatting
in closepoll.ts was an unsafe arrays usage without checking the bounds
2023-06-11 09:01:25 +02:00
Sammy 0d5c3d30a9 Fix loggers
Some logger messages were missing requestId and guildId
2023-06-10 22:58:00 +02:00
Sammy c2d8838cf8 polls will be closed automatically 2 days before event start 2023-06-10 22:53:11 +02:00
Sammy c8fa89ae63 Add command to close the poll and update the event 2023-06-10 17:27:59 +02:00
Sammy c0b24ee3ad restructuring 2023-06-09 22:01:38 +02:00
Sammy 3e152864fd complete guides 2023-06-09 21:30:24 +02:00
mightypanders 24c120a890 add /guides interaction with buttons 2023-06-09 16:16:23 +02:00
mightypanders 0aef525994 initialize attachmentImages ahead of time, to be reused 2023-06-08 19:34:48 +02:00
mightypanders 0ba867b23a add 'mitgucken' guide on how to join JF Syncplay group 2023-06-08 19:11:00 +02:00
Sammy 11dac10a07 Added handler for password reset command 2023-06-04 03:10:33 +02:00
mightypanders e17c7601da delete unused files 2023-04-16 02:01:56 +02:00
mightypanders 3d2022d1dd bot base 2023-04-15 22:06:35 +02:00