Difference between revisions of "User:Eupeodes/Hashie"

From Geohashing
imported>Eupeodes
imported>Eupeodes
Line 1: Line 1:
 
{{30w compliant|yes=1}}
 
{{30w compliant|yes=1}}
 
Hashie is a bot on #geohashing. It will post the global hash of the current day and all available future days around the time zbot announces the new coordinates. Also it responds to a few commands. All commands can also be triggered with a . instead of a !
 
Hashie is a bot on #geohashing. It will post the global hash of the current day and all available future days around the time zbot announces the new coordinates. Also it responds to a few commands. All commands can also be triggered with a . instead of a !
==hash==
+
==current commands==
 +
===hash===
 
  '''!# [location [date]]'''  
 
  '''!# [location [date]]'''  
 
  returns the geohash (or globalhash) for the given graticule and date. Parameters in square brackets are optional.  
 
  returns the geohash (or globalhash) for the given graticule and date. Parameters in square brackets are optional.  
Line 9: Line 10:
 
  '''date''': A date in the ISO format yyyy-mm-dd. Defaults to a current date if omitted. Strings like tomorrow, next sunday or today +2 days also work. For this function UTC is used as local time  
 
  '''date''': A date in the ISO format yyyy-mm-dd. Defaults to a current date if omitted. Strings like tomorrow, next sunday or today +2 days also work. For this function UTC is used as local time  
  
==tell==
+
==Former commands (discontinued as of 2019-02-02)==
 +
===tell===
 
  '''!tell person ...'''
 
  '''!tell person ...'''
 
  Stores a message which will be displayed to "person" as soon as they say something in the IRC channel.
 
  Stores a message which will be displayed to "person" as soon as they say something in the IRC channel.
  
==tweet==
+
===tweet===
 
  '''!tweet ...'''
 
  '''!tweet ...'''
 
  Places a message in the queue for twitter, currently only Eupeodes can process this queue
 
  Places a message in the queue for twitter, currently only Eupeodes can process this queue
 
[[Category:Eupeodes]]
 
[[Category:Eupeodes]]
 
[[Category:Implementations]]
 
[[Category:Implementations]]

Revision as of 16:40, 2 February 2019

This implementation IS FULLY 30W-compliant.

Hashie is a bot on #geohashing. It will post the global hash of the current day and all available future days around the time zbot announces the new coordinates. Also it responds to a few commands. All commands can also be triggered with a . instead of a !

current commands

hash

!# [location [date]] 
returns the geohash (or globalhash) for the given graticule and date. Parameters in square brackets are optional. 
location: The graticule or global. Defaults to the current globalhash if omitted.
Graticule is defined with latitude and longitude without decimals.
Latitude and longitude have to be separated by a space and/or comma.
date: A date in the ISO format yyyy-mm-dd. Defaults to a current date if omitted. Strings like tomorrow, next sunday or today +2 days also work. For this function UTC is used as local time 

Former commands (discontinued as of 2019-02-02)

tell

!tell person ...
Stores a message which will be displayed to "person" as soon as they say something in the IRC channel.

tweet

!tweet ...
Places a message in the queue for twitter, currently only Eupeodes can process this queue