Skip to main content

geo, a plugin for NekBot, a modular and multiprotocol bot written in Python.

Project description

geo plugin. Nekbot, a modular and multiprotocol bot written in Python.

Usage:

!geo <place or coordinates>
Return coordinates, place, and extra information.

!geodistance <place or coordinates 1> <place or coordinates 2>
Return distance between places.

Example:

!geo Madrid
40.4167047,-3.7035825 Madrid, Área metropolitana de Madrid y Corredor del Henares, Madrid, Comunidad de Madrid, España [city] https://www.openstreetmap.org/relation/4844521

!geo 40.4167047,-3.7035825
Plaza de la Puerta del Sol, Barrio de las Letras, Centro, Madrid, Área metropolitana de Madrid y Corredor del Henares, Madrid, Comunidad de Madrid, 28080, España https://www.openstreetmap.org/way/4263034

!geo 40.4167047,-3.7035825 Sevilla
Vicenty distance: 390.503168km Great-circle distance: 390.839770km

Please! You need NekBot for use this plugin. This plugin not works without NekBot.

https://bitbucket.org/Nekmo/nekbot-mirai/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nekbot.plugins.geo-0.2.0.4.tar.gz (5.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page