view doc/src/api/event/onInvite.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 onInvite

This event is called when someone is inviting you to a channel.

# Synopsis

```javascript
function onInvite(server, origin, channel)
```

# Arguments

  - **server**: the current server,
  - **origin**: who invited you,
  - **channel**: on which channel you are invited to.