minor doc tweaks
This commit is contained in:
parent
c58192f72c
commit
2364cb7bac
4 changed files with 12 additions and 8 deletions
|
@ -1,11 +1,12 @@
|
|||
GOALS:
|
||||
simplicity
|
||||
as little boilerplate and magic as possible
|
||||
multithreaded dispatch
|
||||
* simplicity
|
||||
* as little boilerplate and magic as possible
|
||||
* multithreaded dispatch
|
||||
|
||||
plugins are located in plugins/
|
||||
|
||||
input:
|
||||
|
||||
nick -- string, the nickname of whoever sent the message
|
||||
channel -- string, the channel the message was sent on. Equal to nick if it's a private message.
|
||||
msg -- string, the line that was sent
|
||||
|
@ -13,6 +14,7 @@ raw -- string, the raw full line that was sent
|
|||
re -- the result of doing re.match(hook, msg)
|
||||
|
||||
attributes and methods of bot:
|
||||
|
||||
say(msg): obvious
|
||||
reply(msg): say(input.nick + ": " + msg)
|
||||
msg(target, msg): sends msg to target
|
||||
|
|
Reference in a new issue