Ooglely / pugBot

Discord bot to run TF2 pick up games | pugbot.tf
https://pugbot.tf
21 stars 1 forks source link

Serveme Reservation Timing #31

Closed zjgarrett closed 9 months ago

zjgarrett commented 10 months ago

The current Serveme reservation implementation only allows for servers to be reserved at the current moment for the default 2 hours, but certain server locations (Chicago servers) usually run out of availability during scrim times. Serveme's API easily allows for reservations to be made in the near future (3 hours ahead for free users, longer for premium), and for servers to be reserved for longer than the default 2 hours (2 for free, 5 for premium). Adding a few optional inputs to the reserve command and a few minor changes will allow PugBot users ensure they can reserve servers ahead of time and for longer periods.