Mercurial > irccd
comparison 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 |
comparison
equal
deleted
inserted
replaced
816:42992b30f928 | 817:ebe561276c33 |
---|---|
1 # Event onMode | |
2 | |
3 This event is triggered when the server changed a channel mode or your mode. | |
4 | |
5 # Synopsis | |
6 | |
7 ```javascript | |
8 function onMode(server, origin, channel, mode, limit, user, mask) | |
9 ``` | |
10 | |
11 # Arguments | |
12 | |
13 - server: the current server, | |
14 - origin: the person who changed the mode, | |
15 - mode: the new mode. |