mirror of
https://github.com/mikaela/mikaela.github.io/
synced 2024-12-25 12:42:34 +01:00
bot: how to address the bot
This commit is contained in:
parent
b6ebaf7d7d
commit
4cf4058f39
@ -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 <plugin>` to get list of
|
||||
|
Loading…
Reference in New Issue
Block a user