Go to file
2024-07-30 16:41:50 -04:00
src check if voice connection is actually open 2024-01-25 22:29:32 -05:00
.gitignore init 2024-01-25 22:08:47 -05:00
.npmrc init 2024-01-25 22:08:47 -05:00
audio.c init 2024-01-25 22:08:47 -05:00
config.example.json init 2024-01-25 22:08:47 -05:00
index_old.js init 2024-01-25 22:08:47 -05:00
Makefile add makefile 2024-03-10 19:22:57 -04:00
name.c init 2024-01-25 22:08:47 -05:00
package.json Replace @discordjs/opus with opusscript 0.1.1 2024-07-30 16:41:50 -04:00
README.MD add makefile 2024-03-10 19:22:57 -04:00
tsconfig.json init 2024-01-25 22:08:47 -05:00

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 and audio binaries: npm run build
  3. 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
  4. Run it: node build/index.js

Credits

  • QEMU Audio/C portion: DarkOK
  • Discord bot/TypeScript portion: Elijah R