diff options
Diffstat (limited to 'webAO/packets/handlers/handleRC.ts')
| -rw-r--r-- | webAO/packets/handlers/handleRC.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/webAO/packets/handlers/handleRC.ts b/webAO/packets/handlers/handleRC.ts new file mode 100644 index 0000000..92c1e8e --- /dev/null +++ b/webAO/packets/handlers/handleRC.ts @@ -0,0 +1,10 @@ +import { client } from "../../client"; +import vanilla_character_arr from "../../constants/characters.js"; + +/** + * we are asking ourselves what characters there are + * @param {Array} args packet arguments + */ +export const handleRC = (_args: string[]) => { + client.sendSelf(`SC#${vanilla_character_arr.join("#")}#%`); +}
\ No newline at end of file |
