forked from Elijah/AudioBot
small fix to make it actually work
src | ||
.gitignore | ||
.npmrc | ||
audio.c | ||
config.example.json | ||
index_old.js | ||
name.c | ||
package.json | ||
README.MD | ||
tsconfig.json |
AudioBot
A simple bot that relays audio from a QEMU VM to a Discord call. Developed for use with CollabVM.
External dependencies
- libvncclient
Running
- Install depencencies:
npm i
- Build the typescript:
npm run build
- Build the C binaries: (TODO: Add build system)
mkdir bin
gcc audio.c -lvncclient -o bin/audio
gcc name.c -lvncclient -o bin/name
- 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
- Run it:
node build/index.js
Credits
- QEMU Audio/C portion: DarkOK
- Discord bot/TypeScript portion: Elijah R