Open BillDStrong opened 4 years ago
I've made an attempt with 3eeecc2c2bda0df0183bf13d1e4cab4ecffa70d7 - !time
now accepts a timezone argument, e.g. !time London
and it'll print an absolute time instead of the usual output:
20:44 <insofaras> !time London
20:44 <insobot> Next stream: Sat 13 Jun 7:00 pm BST (5655 minutes from now)
It should accept any name from the TZ Database Name
column here: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones, with the parts before the slash being optional.
EDIT: I should mention there is also !schedule
which will show the stream day + times for the current week in Casey's timezone.
While !time gives the amount of time til next stream, it would be nice to also get the expected time of that stream as well, or a command to get that.
Since you have that information in order to calculate the ttns, it should be easy to add.
I don't know what info insobot can get about the timezone of the user, or if it can display a different timezone to each user, so it would probably need to settle on Caseys timezone, or a specific one at least.