Add automatic creation of vote message with random movies #16

Merged
kenobi merged 11 commits from feat/voting into master 2023-06-12 21:00:17 +02:00

11 Commits

Author SHA1 Message Date
Sammy fdc0fc47b5 removed unnecessary guildId: from logger calls 2023-06-12 20:36:05 +02:00
Sammy f3669ec34f move collection id of movies into configurations 2023-06-12 20:31:52 +02:00
Sammy c0369fcb49 Fetch announcement channel at server start 2023-06-12 20:27:54 +02:00
Sammy 40d220ed7b refactor: use date-fns for date comparison 2023-06-12 19:43:33 +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 2707f7d73b Add automatic creation of vote message with random movies
When a !nextwp event is created the bot will fetch random movies and create a message that people can vote on
2023-06-10 14:23:10 +02:00