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.
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
!!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;
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
#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;
#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;
#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 a
postcommand alias for all possible words, in conjunction with terrible attitude of the users and infinite laziness and unwillingness to accept all unknown commands as
#postaliases, 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 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.
This section covers more of every bot's inner workings and explains how some of the more complex commands work.
Currently @ton.yeung is developing a C# reimplementation of HoiHoi-san on Github.
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.
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: