mirror of
https://github.com/yawaflua/Flask-Discord.git
synced 2025-12-10 12:29:30 +02:00
Add MANY property to automatically return list from fetch_from_api when many of these models exists
This commit is contained in:
@@ -21,6 +21,7 @@ class Guild(DiscordModelsBase):
|
||||
|
||||
"""
|
||||
|
||||
MANY = True
|
||||
ROUTE = "/users/@me/guilds"
|
||||
|
||||
def __init__(self, payload):
|
||||
|
||||
Reference in New Issue
Block a user