mirror of
https://github.com/ShadowNinja/LuaIRC.git
synced 2025-02-13 18:20:18 +01:00
Updated docs with OnKick
This commit is contained in:
parent
ee73311524
commit
9037287e6b
@ -611,7 +611,7 @@ Returns a new <code>irc</code> object.
|
||||
<dl class="table">
|
||||
|
||||
<dt><a name="Hooks"></a><strong>Hooks</strong></dt>
|
||||
<dd>List of hooks you can use with irc:hook. The parameter list describes the parameters passed to the callback function. <ul> <li><code>OnDisconnect(message, errorOccurred)</code></li> <li><code>OnChat(user, channel, message)</code></li> <li><code>OnNotice(user, channel, message)</code></li> <li><code>OnJoin(user, channel)</code>*</li> <li><code>OnPart(user, channel)</code>*</li> <li><code>OnQuit(user, message)</code></li> <li><code>NickChange(user, newnick, channel)</code>*†</li> <li><code>NameList(channel, names)</code></li> <li><code>OnTopic(channel, topic)</code></li> <li><code>OnTopicInfo(channel, creator, timeCreated)</code></li> </ul> * Event also invoked for yourself. † Channel passed only when user tracking is enabled
|
||||
<dd>List of hooks you can use with irc:hook. The parameter list describes the parameters passed to the callback function. <ul> <li><code>OnDisconnect(message, errorOccurred)</code></li> <li><code>OnChat(user, channel, message)</code></li> <li><code>OnNotice(user, channel, message)</code></li> <li><code>OnJoin(user, channel)</code>*</li> <li><code>OnPart(user, channel)</code>*</li> <li><code>OnQuit(user, message)</code></li> <li><code>NickChange(user, newnick, channel)</code>*†</li> <li><code>NameList(channel, names)</code></li> <li><code>OnTopic(channel, topic)</code></li> <li><code>OnTopicInfo(channel, creator, timeCreated)</code></li> <li><code>OnKick(channel, nick, kicker, reason)</code>* (kicker is a <code>user</code> table)</li> </ul> * Event also invoked for yourself. † Channel passed only when user tracking is enabled
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user