You might also like splat2rpc - a Discord Rich Presence client for Nintendo's Splatoon 2!
This is a Python script that will allow you to set your own Discord Rich Presence for Blizzard Entertainment's Overwatch.
Currently, Blizzard seems too focused on Battle.net as a platform (zzz) to implement Rich Presence for Overwatch, so this is one way of getting it. If you prefer a more automatic method, you can use OverTrack, created by @synap5e - it's wonderful!
-
Python 3 (programmed using 3.6.5)
-
pypresence - install via pip using
pip install pypresence
-
requests - install via pip using
pip install requests
-
A functioning brain
-
Discord "Show game activity" enabled
-
Some patience
- Clone the repo with
git clone https://github.com/maxicc/owrpc.git
or download the ZIP version from the top of this page.
- (sidenote: please do not change anything in the config file - you don't need your own Discord client ID or anything!)
- Open up a Terminal window in the directory you cloned or downloaded this repo to.
- Run
pip install pypresence
andpip install requests
if you don't already have it installed. - Make sure Discord is running, then run
python owrpc.py
. You should be greeted by the program! - That's it, you're done! 🎉 Now, run
!help
to see what commands are available. Or just, you know, look below. - EXTRA STEP FOR WINDOWS USERS! When testing this program on Windows, I noticed that the Windows Terminal doesn't, by default, display ANSI colours, instead it will just show the escape code (which makes the console display really ugly)! To get around this, create a file called
.nocol
in the same directory asowrpc.py
- this will disable the colours. You could also use an alternate terminal - I know that Terminus works fine, as may others. Conversely, other platforms that struggle to display ANSI colours can disable them using the.nocol
file.
-
!dev - Toggle development mode on or off.
-
!help - View this help document.
-
!quit - Close the program.
-
!game - Start set up for a game.
-
!custom - Set up a custom presence.
-
!menus - Set your presence to In Menus.
-
!queue [a/c/q] - Set your presence to In Queue for [a]rcade, [c]ompetitive or [q]uickplay.
-
!clear - Remove your presence from Discord.
There are some added aliases in the code used for testing which you can use if you really want to be special/annoying.
I've got the whole summer off so I might as well try and improve my gaming experience through programming :^)
-
Version 1.0! Actually make this and release it -
Computer vision-y type stuff so it can auto-detect maps and modes like OverTrack does
-
Clean upand comment the code - this new version is a lot cleaner. -
Add provisions for future maps/events - seasonals like Winter Wonderland add new maps and modes every yearNew modes can now be easily added, I'm going to work on making them easier to access now.