view doc/src/api/event/onPart.md @ 614:ebdc614db066

Docs: get rid of metadata
author David Demelier <markand@malikania.fr>
date Sun, 17 Dec 2017 09:21:49 +0100
parents bb9771fb5f44
children
line wrap: on
line source

# Event onPart

This event is triggered when someone has left a specific channel.

# Synopsis

```javascript
function onPart(server, origin, channel, reason)
```

# Arguments

  - **server**: the current server,
  - **origin**: the person who left the channel,
  - **channel**: the channel,
  - **reason**: an optional reason.