view doc/src/js/event/onMode.md @ 817:ebe561276c33

doc: start reworking, continue #752 @8h
author David Demelier <markand@malikania.fr>
date Mon, 19 Nov 2018 07:04:42 +0100
parents doc/src/api/event/onMode.md@ebdc614db066
children
line wrap: on
line source

# Event onMode

This event is triggered when the server changed a channel mode or your mode.

# Synopsis

```javascript
function onMode(server, origin, channel, mode, limit, user, mask)
```

# Arguments

- server: the current server,
- origin: the person who changed the mode,
- mode: the new mode.