Skip to content
/ owrpc Public
forked from Tominous/owrpc

A Discord Rich Presence client for Overwatch, revisited

License

Notifications You must be signed in to change notification settings

Synntix/owrpc

 
 

Repository files navigation

owrpc

You might also like splat2rpc - a Discord Rich Presence client for Nintendo's Splatoon 2!

version python-versions GPL-license pypresence

owrpc Promo Hero

Help Banner

Overwatch + Discord Rich Presence = <3

A demonstration of the rich presence in action

About

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!

Dependencies

How to use

  1. 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!)
  1. Open up a Terminal window in the directory you cloned or downloaded this repo to.
  2. Run pip install pypresence and pip install requests if you don't already have it installed.
  3. Make sure Discord is running, then run python owrpc.py. You should be greeted by the program!
  4. That's it, you're done! 🎉 Now, run !help to see what commands are available. Or just, you know, look below.
  5. 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 as owrpc.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.

Commands

  • !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.

Future plans

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 up and 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 year New modes can now be easily added, I'm going to work on making them easier to access now.

About

A Discord Rich Presence client for Overwatch, revisited

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%