blob: 66c35fa0afb8fc424fae609f2a6978d8f310b87f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import { client } from "../../client";
/**
* Hook for sending messages to the client
* @param {string} message the message to send
*/
export const sendSelf = (message: string) => {
(<HTMLInputElement>(
document.getElementById("client_ooclog")
)).value += `${message}\r\n`;
client.handleSelf(message);
}
|