mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-12-03 14:02:19 +00:00
Inject state into PartialEmoji in Activity
This commit is contained in:
@@ -717,7 +717,7 @@ class Client:
|
||||
"""Optional[:class:`.BaseActivity`]: The activity being used upon
|
||||
logging in.
|
||||
"""
|
||||
return create_activity(self._connection._activity)
|
||||
return create_activity(self._connection._activity, self._connection)
|
||||
|
||||
@activity.setter
|
||||
def activity(self, value: Optional[ActivityTypes]) -> None:
|
||||
|
||||
Reference in New Issue
Block a user