* Sends a `message` event. Alias of {@link send}. * * @return self
(...args: EventParams<EmitEvents, "message">)
| 423 | * @return self |
| 424 | */ |
| 425 | public write(...args: EventParams<EmitEvents, "message">): this { |
| 426 | this.emit("message", ...args); |
| 427 | return this; |
| 428 | } |
| 429 | |
| 430 | /** |
| 431 | * Writes a packet. |