AudioBot/README.MD
2024-01-25 22:08:47 -05:00

22 lines
No EOL
665 B
Markdown

# AudioBot
A simple bot that relays audio from a QEMU VM to a Discord call. Developed for use with CollabVM.
## External dependencies
- libvncclient
## Running
1. Install depencencies: `npm i`
2. Build the typescript: `npm run build`
3. Build the C binaries: (TODO: Add build system)
- `mkdir bin`
- `gcc audio.c -lvncclient -o bin/audio`
- `gcc name.c -lvncclient -o bin/name`
4. Copy config.example.json to config.json, and fill out your discord token and client ID, as well as a list of available VMs and their VNC servers
5. **Run it:** `node build/index.js`
## Credits
- QEMU Audio/C portion: DarkOK
- Discord bot/TypeScript portion: Elijah R