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 .user import User
class Integration(object):
class Integration(DiscordModelsBase):
""""Class representing discord server integrations.
Attributes