diff --git a/kdb-bot/src/bot_data/model/user.py b/kdb-bot/src/bot_data/model/user.py index ff654ae3..57e1cc67 100644 --- a/kdb-bot/src/bot_data/model/user.py +++ b/kdb-bot/src/bot_data/model/user.py @@ -15,8 +15,8 @@ class User(TableABC): self, dc_id: int, xp: int, - message_count: int, reaction_count: int, + message_count: int, server: Optional[Server], created_at: datetime = None, modified_at: datetime = None, @@ -25,8 +25,8 @@ class User(TableABC): self._user_id = id self._discord_id = dc_id self._xp = xp - self._message_count = message_count self._reaction_count = reaction_count + self._message_count = message_count self._server = server TableABC.__init__(self) diff --git a/kdb-web/src/app/models/graphql/queries.model.ts b/kdb-web/src/app/models/graphql/queries.model.ts index 28729570..bd83b01d 100644 --- a/kdb-web/src/app/models/graphql/queries.model.ts +++ b/kdb-web/src/app/models/graphql/queries.model.ts @@ -266,6 +266,9 @@ export class Queries { name createdAt } + + createdAt + modifiedAt } } }