Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where am I today enhancement #45

Open
Jashaul opened this issue May 1, 2022 · 3 comments
Open

Where am I today enhancement #45

Jashaul opened this issue May 1, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@Jashaul
Copy link

Jashaul commented May 1, 2022

To add a command to find the region colo woke up.

On trigger, we should get the datatime of the user and find out the location(s) around the world where its day time(roughly 8-10 AM)

PS. exclusive permission to allow colo to edit

@akashsara
Copy link
Owner

Please give a better description of how this should work.

@akashsara akashsara added the enhancement New feature or request label May 26, 2022
@akashsara
Copy link
Owner

akashsara commented May 26, 2022

Maybe:

!whereiscolotoday

Location in format [City], [Country] where the current time is 10 AM. Randomly choose between cities if there are multiple.

Maybe search for some API with this functionality?

@Jashaul
Copy link
Author

Jashaul commented May 31, 2022

Yeah, there should be an api available for that. We could also do it from scratch, seems simple to implement.

custom logic:

  • get the current UTC time
  • match with all time zones currently at 10AM
  • fetch a list of cities/countries under that timezone and pick one at random

@akashsara akashsara changed the title Whereiscolotoday enhancement Where am I today enhancement Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants