Difference between revisions of "Begiak"

From Apertium
Jump to navigation Jump to search
Line 2: Line 2:
   
 
== Background ==
 
== Background ==
Begiak was set up by conor_f for [[Google Code-in|GCI 2012]]. It runs on apertium.vm.bytemark.co.uk. The code base is the [https://github.com/mutantmonkey/phenny mutantmonkey port] to python3 of the [http://inamidst.com/phenny/ phenny] bot.
+
Begiak was set up by conor_f for [[Google Code-in|GCI 2012]]. It runs on apertium.vm.bytemark.co.uk. The code base is the [https://github.com/mutantmonkey/phenny mutantmonkey port] to python3 of the [http://inamidst.com/phenny/ phenny] bot. Our port is currently hosted by [[User:Firespeaker|Jonathan]] in [https://github.com/jonorthwash/phenny his github].
   
 
Begiak means "the eyes" in [[Basque]].
 
Begiak means "the eyes" in [[Basque]].
   
 
== Repositories monitored ==
 
== Repositories monitored ==
  +
The following svn repositories are monitored by begiak. Begiak polls for updates when it receives a ping from the server. Also see [[#AI Features|below]] for some ways to manually update
 
* [[Using SVN|apertium.svn.sourceforge.net]]
 
* [[Using SVN|apertium.svn.sourceforge.net]]
 
* HFST
 
* HFST
Line 12: Line 13:
   
 
== AI Features ==
 
== AI Features ==
  +
Begiak recognises the following commands. Commands in '''bold''' are special apertium-related or #apertium-specific commands, or were designed with apertium in mind.
 
* .8ball — magic 8 ball
 
* .8ball — magic 8 ball
 
* '''.awik — Search for something on Apertium wiki'''
 
* '''.awik — Search for something on Apertium wiki'''
Line 35: Line 37:
 
* .seen — When was the last time a user was seen?
 
* .seen — When was the last time a user was seen?
 
* .stache ''url'' — Moustachify an image
 
* .stache ''url'' — Moustachify an image
  +
* .tell ''nick'' ''message'' (''**pm**'') — Tells someone something the next time they say something in a channel begiak is monitoring. The **pm** option has the message sent privately.
 
* .time — Return the current time
 
* .time — Return the current time
 
* .title — Get the title of a link
 
* .title — Get the title of a link
Line 49: Line 52:
 
* '''begiak: esan! — Poll for svn updates''' ("esan!" means "say!" in Basque)
 
* '''begiak: esan! — Poll for svn updates''' ("esan!" means "say!" in Basque)
 
* '''begiak: recent — Get most recent svn updates'''
 
* '''begiak: recent — Get most recent svn updates'''
  +
  +
=== Admin features ===
  +
* begiak: reload ''module'' — reload a module
   
 
=== ?? ===
 
=== ?? ===
Line 58: Line 64:
 
* mylife
 
* mylife
 
* oblique
 
* oblique
* reload
 
 
== Wishlist ==
 
* A PING event for phenny so that the SVN module can truly be a module
 
   
 
[[Category:Bots]]
 
[[Category:Bots]]

Revision as of 20:56, 30 December 2012

begiak is the irc bot in the #apertium irc channel. Its primary function is to report svn updates to various relevant repositories, but it serves some other purposes too.

Background

Begiak was set up by conor_f for GCI 2012. It runs on apertium.vm.bytemark.co.uk. The code base is the mutantmonkey port to python3 of the phenny bot. Our port is currently hosted by Jonathan in his github.

Begiak means "the eyes" in Basque.

Repositories monitored

The following svn repositories are monitored by begiak. Begiak polls for updates when it receives a ping from the server. Also see below for some ways to manually update

AI Features

Begiak recognises the following commands. Commands in bold are special apertium-related or #apertium-specific commands, or were designed with apertium in mind.

  • .8ball — magic 8 ball
  • .awik — Search for something on Apertium wiki
  • .beats — Shows the internet time in Swatch beats
  • .botsnack — Give begiak a snack for being good
  • .c — Query Google calculator
  • .catfact — Random facts about cats
  • .chill — Measure the current channel chillness level.
  • .ety — Look up the etymology of a word
  • .fcc callsign — Look up a callsign issued by the FCC
  • .g — Search on Google
  • .gc — Get the number of results on Google
  • .in — Set a reminder
  • .imdb — Search imdb
  • .linx url — Upload url to linx.li
  • .listpairs (lg) — List language pairs available for apertium translation
  • .listlangs — List languages available for apertium translation
  • .noexceptions (nick) — Tells someone there aren't ever any exceptions
  • .npl — Shows the time from NPL's SNTP server
  • .nsfw link - for when a link isn't safe for work
  • .py — Evaluate an expression in python (This runs as a sandboxed web service, not on your computer)
  • .t ... lg1-lg2 ( | lg3-lg4 ...) — Apertium translate
  • .seen — When was the last time a user was seen?
  • .stache url — Moustachify an image
  • .tell nick message (**pm**) — Tells someone something the next time they say something in a channel begiak is monitoring. The **pm** option has the message sent privately.
  • .time — Return the current time
  • .title — Get the title of a link
  • .tock — Shows the time from the USNO's atomic clock
  • .u — Search for a unicode character
  • .urb — Query urban dictionary
  • .wa — Query Wolfram Alpha
  • .weather — Get the weather for a city
  • .wik — Search for something on Wikipedia
  • .wuvt — Find out what radio station WUVT is currently playing
  • .yi — Shows whether it is currently yi or not
  • begiak: tell nick something — Send a message to nick
  • begiak: "parlez-vous français"? — Translate a phrase (google translate)
  • begiak: esan! — Poll for svn updates ("esan!" means "say!" in Basque)
  • begiak: recent — Get most recent svn updates

Admin features

  • begiak: reload module — reload a module

??

These functions/plugins either don't seem to work or need some figuring out:

  • .tfw
  • .validate
  • rule34
  • lastfm
  • mylife
  • oblique