mirror of
https://github.com/boticord/boticordpy.git
synced 2024-09-22 19:32:01 +03:00
Fix UserProfile args
This commit is contained in:
parent
51bc496893
commit
388e893440
1 changed files with 3 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue