view doc/src/api/event/onTopic.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
line wrap: on
line source

# Event onTopic

This event is triggered when someone changed the channel's topic.

# Synopsis

```javascript
function onTopic(server, origin, channel, topic)
```

# Arguments

  - **server**: the current server,
  - **origin**: the person who changed the topic,
  - **channel**: the channel,
  - **topic**: the new topic (may be empty).