aboutsummaryrefslogtreecommitdiff
path: root/webAO/packets/handlers/handleRM.ts
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2022-09-03 02:13:01 +0200
committerGitHub <noreply@github.com>2022-09-03 02:13:01 +0200
commit20d53ae3a37622805d08e02d3b38175fea0084e2 (patch)
tree98bfddeee34500bb98169de405abf4a1cf114f8c /webAO/packets/handlers/handleRM.ts
parentb87c498ee3e5fb1e6e90084fc093a66abaa311c6 (diff)
parent86b493b881bde4a11214929ebe4317289a7f1da3 (diff)
Merge pull request #162 from caleb-mabry/last-of-the-handlers
Moved rest of the handlers
Diffstat (limited to 'webAO/packets/handlers/handleRM.ts')
-rw-r--r--webAO/packets/handlers/handleRM.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/webAO/packets/handlers/handleRM.ts b/webAO/packets/handlers/handleRM.ts
new file mode 100644
index 0000000..41a78b4
--- /dev/null
+++ b/webAO/packets/handlers/handleRM.ts
@@ -0,0 +1,10 @@
+import {client} from '../../client'
+import vanilla_music_arr from "../../constants/music.js";
+
+ /**
+ * we are asking ourselves what characters there are
+ * @param {Array} args packet arguments
+ */
+export const handleRM = (_args: string[]) => {
+ client.sendSelf(`SM#${vanilla_music_arr.join("#")}#%`);
+ } \ No newline at end of file