Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

Commit

Permalink
Fixed bug in get_lobby_activity_secret.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lenny P Critchley committed Aug 29, 2020
1 parent fbb8dbe commit 163ff80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discordsdk/lobby.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ def get_lobby_activity_secret(self, lobby_id: int) -> str:
lobby_secret = sdk.DiscordLobbySecret()

result = self._internal.get_lobby_activity_secret(self._internal, lobby_id, lobby_secret)
if result != result.ok:
if result != Result.ok:
raise get_exception(result)

return lobby_secret.value.decode("utf8")
Expand Down

0 comments on commit 163ff80

Please sign in to comment.