# +mode

The `+mode` event is triggered every time a + mode is applied to a nickname (user or channel). This could include changes like setting channel/user modes.

```javascript
bot.on('+mode', (data) => {
    // Your Code Here
});
```

#### Parameters

* **data.user** *(string)* – The user who changed the mode (can be a channel or user, starting with `#` for channels).
* **data.mode** *(string)* – The mode that was applied (e.g., `+o`).
* **data.affected** *(string)* – The nickname or channel affected by the mode change.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://bmsvieira.gitbook.io/nova-irc/event-listeners/+mode.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
