Fix typo and add `pass` to function.

master
luk3yx 2018-09-13 17:13:30 +12:00
parent 8e32c885ba
commit acb1b9177f
1 changed files with 2 additions and 1 deletions

View File

@ -37,7 +37,7 @@ irc = miniirc.IRC(ip, port, nick, channels = None, *, ssl = None, ident = None,
| `Hander(...)` | An event handler, see [Handlers](#handlers) for more info.|
| `main()` | Starts the main loop in a thread if not already running. |
| `msg(target, *msg)` | Sends a `PRIVMSG` to `target`. |
| `notice(target, *msg) | Sends a `NOTICE` to `target`. |
| `notice(target, *msg)` | Sends a `NOTICE` to `target`. |
| `quote(*msg, force=None)` | Sends a raw message to IRC, use `force=True` to send while disconnected. |
## Handlers
@ -55,6 +55,7 @@ def handler(irc, hostmask, args):
# args: A list containing the arguments sent to the command.
# Everything following the first `:` in the command
# is put into one item (args[-1]).
pass
~~~
### Hostmask object