view doc/src/api/event/onPart.md @ 687:84537e43b352

Tests: add [rule] load tests, continue #779
author David Demelier <markand@malikania.fr>
date Fri, 13 Apr 2018 22:32:30 +0200
parents ebdc614db066
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.