Add base class. Make to_json available to all of the existing models.

This commit is contained in:
thecosmos
2019-05-22 23:52:17 +05:30
parent ca36e3ce03
commit d975547968
4 changed files with 24 additions and 13 deletions

View File

@@ -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