Gobot1234 / steam.py

An async python wrapper to interact with the Steam API and its CMs
https://steam-py.github.io/docs/latest
Other
180 stars 40 forks source link

Fix Rich Presence Nulling #589

Closed Aluerie closed 1 month ago

Aluerie commented 1 month ago

Summary

Just a small PR out of #help thread.

TL;DR for posterity

This PR fixes a bug where rich_presence attribute for user classes would reset its value to None if the incoming proto doesn't have rich_presence field set which occasionally does happen.

Checklist

Gobot1234 commented 1 month ago

Thank you!