A Discord bot for interfacing with a QEMU VM.
Fair warning, this branch is very buggy as its pretty much a quick dirty port of the VirtualBox version to QEMU.
- Install Python 3.
- Install QEMU.
- Install
discord.py
andqemu.qmp
.
- Run
main.py
once. It should generate a new file,winbot.ini
. - Fill out
winbot.ini
with values of your choice.token
is your Discord bot token,prefix
is the bot's prefix,channel_id
is where the startup message will be sent, andowner_id
is the User ID of the bot owner. - Start a QEMU VM with
-qmp tcp:localhost:4444,server,nowait
appended to the end of it's launch options. - Start the bot by running
main.py
. - Go nuts!
Note: You can ignore
vm_name
safely as it is no longer needed, unless you are running multiple QMP enabled QEMU instances at once.
backspace Really fuckin delete something
help Shows this message
keys Get a list of keys you can use with vb!press
mouse
ping Ping Pong!
press Send special keys to the VM.
raw_command
reload
reset Reset the VM. Owner only.
screen Get a screenshot of the VM.
type Sends a long string of text to the VM, followed by a newline.
Run help [command name]
for more info on each command.