mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Inject state into PartialEmoji in Activity
This commit is contained in:
1 parent
adb69e7157
commit
483ffeacd4
4 files changed
+16
-9
No files matched your search
+1
-1
@@ -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