comparison doc/src/api/event/onNotice.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
comparison
equal deleted inserted replaced
613:0c7241258289 614:ebdc614db066
1 --- 1 # Event onNotice
2 event: onNotice 2
3 js: true 3 This event is triggered when someone sent a notice to you.
4 summary: "This event is triggered when someone sent a notice to you." 4
5 synopsis: "function onNotice(server, origin, notice)" 5 # Synopsis
6 arguments: 6
7 - "**server**: the current server," 7 ```javascript
8 - "**origin**: the one who sent the notice," 8 function onNotice(server, origin, notice)
9 - "**message**: the notice message." 9 ```
10 --- 10
11 # Arguments
12
13 - **server**: the current server,
14 - **origin**: the one who sent the notice,
15 - **message**: the notice message.