Mercurial > irccd
view doc/src/api/event/onKick.md @ 794:6e108be0835d
tests: rename libcommon to libirccd-core
author | David Demelier <markand@malikania.fr> |
---|---|
date | Sun, 11 Nov 2018 10:41:30 +0100 |
parents | ebdc614db066 |
children |
line wrap: on
line source
# Event onKick This event is triggered when someone has been kicked from a channel. # Synopsis ```javascript function onKick(server, origin, channel, target, reason) ``` # Arguments - **server**: the current server, - **origin**: who kicked the person, - **channel**: the channel, - **target**: the kicked person, - **reason**: an optional reason.