fix/movie_names_and_background_task #46
No reviewers
Labels
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: kenobi/jellyfin-discord-bot#46
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/movie_names_and_background_task"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Sieht nach viel aus, ist beim closepoll aber hauptsächlich durch die Gegend schieben
closes #24
closes #36
@ -148,0 +167,4 @@
const eventDate: Date = toDate(updatedEvent.scheduledStartTimestamp)
const closePollDate: Date = addDays(eventDate, -2)
if (isAfter(Date.now(), closePollDate)) {
This would also meant that it is not possible to start an impromptu poll for a Watchparty 'tonight'.
Maybe it's possible to also check if the post is older than 24 hours?
I think this would better be solved by !noautoclose or something when making the !nextwp? Could be carried to the voting offen event or the message to parse for that?
This would increase 'friction' I feel.
An easy thing for users to forget to do and be surprised by how the bot acts.
I would propose that we could do both.
If the distance between poll post date and event date is less than 2 days it does not auto close, but the poll creation would need to be adjusted to contain guidance on how to close the poll manually for the creator of the event.
'Normal' poll posts would be made a week in advance to a watch party so the 2-day auto close would be fine.
Implemented check to see if less than or equal to two days between start and create date of event
@ -170,2 +173,4 @@
task.stop()
}
private async startPollCloceBackgroundTasks() {
startPollCloseBackgroundTask
fixed
looks good to me