QueenBee: Difference between revisions
KyleYankan (talk | contribs) No edit summary |
KyleYankan (talk | contribs) |
||
Line 16: | Line 16: | ||
| .gc || <search term> || Returns the number of search results from Google | | .gc || <search term> || Returns the number of search results from Google | ||
|- | |- | ||
| .in || <time> <reminder> || QueenBee will respond after <time> (which can be in seconds, minutes, hours, days, or weeks) to remind you of <reminder>. | | .in || <time> <reminder> || QueenBee will respond after <time> (which can be in seconds, minutes, hours, days, or weeks) to remind you of <reminder>. | ||
|- style="background: #F7D358;" | |- style="background: #F7D358;" | ||
| .lusers || || Returns the number of users connected to Freenode | | .lusers || || Returns the number of users connected to Freenode |
Revision as of 13:00, 16 November 2012
QueenBee
QueenBee is a Virtual Machine that lives on loud, above the storage closet. It's intentions are to provide users who want to do physical computing within the space the capabilities to do while interfacing with the other projects related to the space. Ideally, it could handle lighting, music, door access, beaconing, and any other projects we may think of. It's primary interface currently is via IRC.
IRC Interface
QueenBee runs an IRC bot, aptly named QueenBee in #hive76. The bot is a python based bot called Phenny. Phenny is customizable via python modules in the ~/phenny/modules folder, and there is a guide to making modules here. QueenBee currently responds to several commands, listed below. Lines in light orange are Hive76-specific commands
Command | Argument | What it Does |
---|---|---|
.c | <math problem> | Uses Google Calculator to solve <math problem> |
.ety | <word> | Looks up the etymology of a word on etymonline.com |
.g | <search term> | Returns the top Google result |
.gc | <search term> | Returns the number of search results from Google |
.in | QueenBee will respond after | |
.lusers | Returns the number of users connected to Freenode | |
.py | <expression> | Uses a web-based python sandbox to evaluate <expression> and returns the result |
.t | <timezone> | Returns the current time in EST, or <timezone> if specified |
.title | <link> | Returns the title of the link |
.u | <character> | Returns the unicode of <character> |
.wa | <question> | Returns the Wolfram Alpha result of <question> - may have trouble parsing the JSON of more ambiguous questions |
.wik | <topic> | Searches for <topic> on Wikipedia |
QueenBee: tell | <nick> <message> | Will deliver <message> to <nick> when they become active again |
QueenBee: | "<foreign phrase"? | QueenBee will attempt to translate <foreign phrase> using Google translate |
QueenBee will also respond to several keywords with useful information, such as "mailing list?", "open house?", and "mmmm?". Currently QueenBee is capable of being interjected with commands form outside of phenny due to a module, waitForIt.py, that will be the basic for interjecting code into the bot from a physical command, such as button-press. Access #hive76 on IRC
Physical Interface
Currently QueenBee has no physical interface, as there is some difficulty in passing through a PCI device through Xen to the QueenBee VM. A solution is being worked upon.