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

Infer timezone for nicks #1

Open
sjrct opened this issue Mar 29, 2016 · 1 comment
Open

Infer timezone for nicks #1

sjrct opened this issue Mar 29, 2016 · 1 comment

Comments

@sjrct
Copy link
Member

sjrct commented Mar 29, 2016

It would perhaps be nice to be able to infer the timezone for someone in a channel if the given name was not registered via a !tz foo = Bar/Baz. In IRC this can potentially be done inferring the location from the host IP of the nick. How we request this information from the agent is something we need to consider from a design perspective in core halibot though, so this is probably not possible without some plumbing.

Using pygeoip would perhaps be useful. It will give a well-formed timezone when given an IP address.

@richteer
Copy link
Contributor

richteer commented May 12, 2016

I like this idea, though it should probably make it clear that it is based on geoip rather than manually set. (Esp. for bouncer users who aren't in the same tz as the VPS, e.g. me)

As for what is needed from core, that's a good point. Right now, the core has no "user querying" functions, but that should probably be implemented at some point. We should consider some kind of "whois" protocol support for agents to implement a base set of information bits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants