mirror of
https://github.com/boticord/boticordpy.git
synced 2024-09-23 03:42: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]
|
bots: List[ResourceBot]
|
||||||
"""User's bots list"""
|
"""User's bots list"""
|
||||||
|
|
||||||
|
servers: List[ResourceServer]
|
||||||
|
"""User's servers list"""
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def from_dict(cls, data: dict):
|
def from_dict(cls, data: dict):
|
||||||
"""Generate a UserProfile from the given data.
|
"""Generate a UserProfile from the given data.
|
||||||
|
|
Loading…
Reference in a new issue