We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c524f65 commit 826aa22Copy full SHA for 826aa22
discord/activity.py
@@ -418,7 +418,7 @@ def __str__(self) -> str:
418
return str(self.name)
419
420
def __repr__(self) -> str:
421
- return f'<Game name={self.name!r}>'
+ return f'<Game name={self.name!r} platform={self.platform!r}>'
422
423
def to_dict(self) -> Dict[str, Any]:
424
timestamps: Dict[str, Any] = {}
@@ -514,7 +514,7 @@ def __str__(self) -> str:
514
515
516
517
- return f'<Streaming name={self.name!r}>'
+ return f'<Streaming name={self.name!r} platform={self.platform!r}>'
518
519
@property
520
def twitch_name(self) -> Optional[str]:
0 commit comments