mirror of
https://github.com/yawaflua/Flask-Discord.git
synced 2025-12-10 04:19:31 +02:00
Add base class. Make to_json available to all of the existing models.
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
from .base import DiscordModelsBase
|
||||
|
||||
from .. import configs
|
||||
|
||||
|
||||
class Guild(object):
|
||||
class Guild(DiscordModelsBase):
|
||||
"""Class representing discord Guild the user is part of.
|
||||
|
||||
Attributes
|
||||
|
||||
Reference in New Issue
Block a user