# sendRaw

The `sendRaw` method allows the bot to send a raw IRC command directly to the server.&#x20;

This method provides full control over the bot's interactions but should be used with caution, as improper usage can have serious consequences depending on the bot's authentication status and permissions.

#### Syntax

```javascript
bot.sendRaw(command);
```

#### Parameters

* **`command`** *(string, required)* – The raw IRC command to send to the server.

#### Example Usage

Send a private message using a raw command:

```javascript
bot.sendRaw('PRIVMSG NICKNAME :How Are you?');
```

#### Notes

* This method should only be used by advanced users who understand IRC protocols.
* Incorrect usage may result in unexpected behavior or even a ban from the server.
* Always ensure the command is correctly formatted according to IRC protocol specifications.
* The bot's permissions will determine the effectiveness of certain raw commands.
