Skip to content
This repository was archived by the owner on Dec 20, 2021. It is now read-only.

Commit 19bbfa3

Browse files
committed
Move stuff
1 parent 616b898 commit 19bbfa3

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

vrcpy/aobjects.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -99,16 +99,6 @@ async def unfriend(self):
9999
async def friend(self):
100100
raise AttributeError("'CurrentUser' object has no attribute 'friend'")
101101

102-
async def favorite(self):
103-
raise AttributeError("'CurrentUser' object has no attribute 'favorite'")
104-
105-
async def remove_favorite(self, id):
106-
resp = await self.client.api.call("/favorites/"+id, "DELETE")
107-
108-
async def get_favorite(self, id):
109-
resp = await self.client.api.call("/favorites/"+id)
110-
return Favorite(resp)
111-
112102
async def update_info(self, email=None, status=None,\
113103
statusDescription=None, bio=None, bioLinks=None):
114104

@@ -150,6 +140,16 @@ async def fetch_favorites(self, t):
150140

151141
return f
152142

143+
async def favorite(self):
144+
raise AttributeError("'CurrentUser' object has no attribute 'favorite'")
145+
146+
async def remove_favorite(self, id):
147+
resp = await self.client.api.call("/favorites/"+id, "DELETE")
148+
149+
async def fetch_favorite(self, id):
150+
resp = await self.client.api.call("/favorites/"+id)
151+
return Favorite(resp)
152+
153153
async def __cinit__(self):
154154
if hasattr(self, "currentAvatar"):
155155
self.currentAvatar = await self.client.fetch_avatar(self.currentAvatar)

0 commit comments

Comments
 (0)