Fix UserProfile args

This commit is contained in:
MadCat9958 2023-06-04 13:09:58 +03:00
parent 51bc496893
commit 388e893440

View file

@ -688,6 +688,9 @@ class UserProfile(PartialUser):
bots: List[ResourceBot]
"""User's bots list"""
servers: List[ResourceServer]
"""User's servers list"""
@classmethod
def from_dict(cls, data: dict):
"""Generate a UserProfile from the given data.