Skip to content

Commit

Permalink
fixed incorrect data types
Browse files Browse the repository at this point in the history
  • Loading branch information
PenguinDevs committed Dec 20, 2022
1 parent 4c3ca10 commit ce30792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion disc_presence.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def __init__(self) -> None:
self.status = {}
self._prev_status = {}

def update(self, status: str) -> None:
def update(self, status: dict) -> None:
status['buttons'] = [{'label': 'Download from GitHub', 'url': 'https://github.com/PenguinDevs/ValoRPC/releases'}]
self.status = status
self.__check_changed()
Expand Down

0 comments on commit ce30792

Please sign in to comment.