josuf107 / xioqbot

twitch queue bot
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Add "soft close" command #26

Closed josuf107 closed 7 years ago

josuf107 commented 8 years ago

Occasionally the streamer wants to bring the stream to end, but closing the queue means that latecomers can't enter. Add a !softclose command that prevents users from re-entering the queue, but allows users who haven't been in the queue since the !softclose to enter.

josuf107 commented 8 years ago

@Xiocious how useful would this be?

josuf107 commented 7 years ago

He said it would be useful

josuf107 commented 7 years ago

This could use some test cases.

josuf107 commented 7 years ago

Don't forget to run the migrate script! The Queue serialization has changed.

josuf107 commented 7 years ago

This has a bug. That's what I get for not including tests!

josuf107 commented 7 years ago

Okay well hope this works now!

josuf107 commented 7 years ago

Somehow I didn't actually deploy this? What did I do? Did I run the migrate script? I don't get paid enough to do this kind of investigation. Who f**'d this up?

josuf107 commented 7 years ago

Okay apparently there was a merge conflict and I just... didn't notice? There shouldn't be merge conflicts anyway.

josuf107 commented 7 years ago

Resolved merge conflicts, but got an error doing the Queue migration. Too few bytes.

josuf107 commented 7 years ago

Turns out the error was because I had run the migration script. I think everything is working now.