aboutsummaryrefslogtreecommitdiff
path: root/webAO/client/sender/sendRT.ts
diff options
context:
space:
mode:
Diffstat (limited to 'webAO/client/sender/sendRT.ts')
-rw-r--r--webAO/client/sender/sendRT.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/webAO/client/sender/sendRT.ts b/webAO/client/sender/sendRT.ts
new file mode 100644
index 0000000..2d6c60a
--- /dev/null
+++ b/webAO/client/sender/sendRT.ts
@@ -0,0 +1,9 @@
+import { client } from "../../client";
+
+/**
+ * Sends testimony command.
+ * @param {string} testimony type
+ */
+export const sendRT = (testimony: string) => {
+ client.sender.sendServer(`RT#${testimony}#%`);
+} \ No newline at end of file