Discord RPC for VMs.
Works with VMware Workstation 14/15, VMware Fusion 14/15, Hyper-V and VirtualBox 7. VMware Workstation Player 14/15 users, see here.
- Create a Discord app. https://discordapp.com/developers/
- Install Python 3.
- Install
pypresence
andpython-dateutil
by runningpip -r requirements.txt
. - Rename
sample-settings.json
tosettings.json
and configure your settings as neccessary. - Run
main.py
. Hyper-V support requires adminstrator privileges.
Note: If you get Access is denied
, restart Discord.
Note: Discord has a 15 second ratelimit in sending Rich Presence updates.
- Hyper-V library
- Add Hyper-V to code
- Wait for Discord to open instead of erroring out
- Stopped running VMs message
- Multi-platform support
- Add VirtualBox to code
- Allow user to enable/disable hypervisor support
- Add custom hypervisor priority
- Switch client IDs based on current hypervisor
- Switch large image based on current OS for VMware, and a image of Hyper-V for Hyper-V
- Small image of VMware if VMware is current hypervisor
- Unified settings file using JSON
- qwertyqwerty for pypresence
- CorpNewt for all the help they've given me with code issues