From 4cf4058f3955f2610115c2c6e14362253dd84253 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Sat, 22 Aug 2015 16:42:47 +0300 Subject: [PATCH] bot: how to address the bot --- pages/bot.markdown | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/pages/bot.markdown b/pages/bot.markdown index d8ac692..3225883 100644 --- a/pages/bot.markdown +++ b/pages/bot.markdown @@ -31,6 +31,27 @@ written by me. ## Usage +### Addressing the bot + +* Currently the bot replies to the following globally: + * prefix characters: `%` `+` `!` + * `+ping` `%ping` `+ping` + * can be changed per-channel + * nick in the beginning and end + * `bot: ping` `ping, bot` + * prefix strings: `msb1` & `msb2` (for legacy reasons) and `__` + * can be changed per-channel + * MessageParser (in the middle of line): `__` & `__()` + * Does the bot work?`__ping` for single-worded commands and + `what is Linux? __(wiki Linux)` for commands with multiple words. + * **I won't change this per channel.** + +* Checking the different channel-specific addressing methods: + * prefix characters: `channel reply.whenaddressedby.chars` + * nick in the beginning and end: `channel reply.whenaddressedby.nick` + `channel reply.whenaddressedby.nick.atend + * prefix strings: `channel reply.whenaddressedby.strings` + ### Quick start Use `list` command to get list of plugins, `list ` to get list of