This is the main information post about our Maid Café (メイド喫茶) chat room's chat bots. Yes, chat bots are our new maid service. The room currently has the following bots working:
The room also at one point had:
For a better experience, you might want to install:
- Our famous StarScript!
- Hide chat room description and tags so you can see more starred images on screen
- Hide site logo and links from the bottom right corner and prevent chat input area from hogging horizontal space which obstructs the starred images
Basic bot information
This section contains information for users that are only interested in what they can get from the chat bots right now. If you're not a programmer or don't have any interest in the inner workings of bots, skip the Advances info section.
HoiHoi-san
She's our mechanical maid and the oldest non-human resident of the room (although we're not sure about some of our "users"). Her command calls start with !!
.
Functions
!!Google something
− Returns the first three results from Google search api;!!Wiki something
− Returns an article link if there was a match;!!Define something
− Returns the definition of a word or phrase on Wikitionary;
Taisho and Karasu
These two bonkuras are a cat and a crow with a red scarf that lets them speak in Japanese. We figured out how to translate most of their speech into English. They do essentially the same things. You can call them with the #
prefix.
Functions
#post
− Posts a picture of a cute girl, or even several. The cuteness varies from image to image. You can contribute to the image stash by asking the regulars in chat;#unbox
or#unonebox
− As the name suggests, breaks the format of the last message required to onebox it by adding an ellipsis symbol…
at the end of the message. This is useful for hiding image previews or very big oneboxes that clutter chat space;#undo
(also#Delete
,#Remove
) − Deletes last deletable message by bot.#Undo 4
− deleted 4 last messages.#Delete 1234567
− deletes bot's message with messageid 1234567. For obvious reasons, bot cannot delete any other user's messages like this. Only messages that have been posted no longer than 2 minutes ago can be deleted like this. If you are absolutely sure the message has to be deleted after this command stopped working, ask a moderator to delete it.#id link
− Returns several image identification service links for the specified image link;#isch link
− Returns google image search link;#last
− Returns image ID links for the latest posted cute girl image. This service is one of the most popular, so naturally this command had to be implemented;#alias
− Adds, removes or lists command aliases. To add an alias, use#alias set <original command name> <new alias>
. To remove an alias, use#alias remove <alias>
. You cannot remove original commands like that, of course. To list all aliases for a specific command, use#alias list <original command name>
.#tag
− Finds out who posted the last image, its tag, and when it was fed to Taisho.#<unknown command>
− Returns "I don't know this command" message. Due to incessant attempts to blame the developer for not adding apost
command alias for all possible words, in conjunction with terrible attitude of the users and infinite laziness and unwillingness to accept all unknown commands as#post
aliases, a new feature has been developed for easy aliasing. After receiving a response to an unknown command, press up arrow key and then send the exact same message (unedited) again. Bot will alias that command and post a picture simultaneously.
Ruri
Ruri would play text games with you, but now she's on a long journey overseas. We hope she comes back one day to make our daily lives a little better.
Advanced information
This section covers more of every bot's inner workings and explains how some of the more complex commands work.
HoiHoi-san
HoiHoi-san is based on a modified Zirak's chat bot. There are many chat rooms across StackExchange that use Zirak's bot as a base for their own. It's written in JavaScript and runs in a browser as a bookmarklet. It uses the browser as a way to communicate.
Currently @ton.yeung is developing a C# reimplementation of HoiHoi-san on Github.
Taisho
The chat users are controlled by a chat bot app developed by @Hakase. The app is written in C# and uses ChatExchange.Net to connect to chat and send/receive messages.
Image posting module (aka #post)
This module is set to automatically post images every 15 minutes. To be precise, after 15 minutes pass since the last image was posted by this module, it will start checking if 50 chat messages have been posted since the previous image was posted. Then, the module will wait 30 seconds since the last chat message to post the next image. This last interval is added to avoid interrupting a discussion with the large image.
Values in italic are variable and can be adjusted through following commands:
#post timeinterval T
− Wait T minutes before checking if enough messages were posted;#post postinterval P
− Count P messages since the last image post;#post waitinterval W
− Wait W seconds after the latest chat message appeared in chat, after which the image will finally be posted.
But please don't edit these settings, it's been working just fine for the past 3 years.
Ruri
She was created by @Prix who generously left us his RuriLib, which is a chat interaction library, that the current SE Chat Bot App uses.
Feel free to update this meta post with the most complete information about our chat bots!
Please, send feature requests and bug reports to the chat bots' respective developers.
Also check out these SE chat API libraries:
- ChatExchange for Python;
- ChatExchange.Net for .NET languages;
- JChatExchange for Java (still under development);
- SE-Chatty for Ruby.