Skip to content

Alcheri/WorldTime

 
 

Repository files navigation

Limnoria plugin for WorldTime

Retrieve current time and time zone information for various locations.

Forked from https://github.com/reticulatingspline/WorldTime

Install

Go into your Limnoria plugin dir, usually ~/runbot/plugins and run:

gh repo clone Alcheri/WorldTime

To install additional requirements, run from /plugins/WorldTime folder:

pip install --upgrade -r requirements.txt 

Next, load the plugin:

/msg bot load WorldTime

Enable Google Geocoding and Time Zone APIs. Set your API Key using the command below

  • config plugins.worldtime.mapsapikey <your_key_here

Example Usage

<spline> @worldtime New York, NY
<myybot> ${\texttt{New York, NY, USA}}$ :: Current local time is: Sat, 09:38 (Eastern Daylight Time)

<spline> @worldtime 90210
<myybot> ${\texttt{Beverly Hills, CA 90210, USA}}$ :: Current local time is: Sat, 06:38 (Pacific Daylight Time)

  • aka add <new alias> worldtime $*

    Add an alias to your bot for ease of use.

@wt set [location] -- Sets your current ident@host to [location]

@wt unset -- Removes your current ident@host

Python versions Supported Python versions Code style: black Maintenance CodeQL Lint

About

A Supybot / Limnoria plugin to display time in various cities

Topics

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENCE.md
MIT
LICENSE.txt

Stars

Watchers

Forks

Contributors

Languages

  • Python 100.0%