From 2e09b0e30ee168c2d987ea3ba7098a99d5bf0138 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 10 Jul 2020 14:14:50 +0200 Subject: [PATCH] publish: 5.11.1 --- pyproject.toml | 2 +- royalpack/commands/abstract/linker.py | 10 ++++++++++ royalpack/tables/steam.py | 4 ++++ royalpack/version.py | 2 +- 4 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 royalpack/commands/abstract/linker.py diff --git a/pyproject.toml b/pyproject.toml index 0b63bf4c..c21bb6f4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ [tool.poetry] name = "royalpack" - version = "5.11.0" + version = "5.11.1" description = "A Royalnet command pack for the Royal Games community" authors = ["Stefano Pigozzi "] license = "AGPL-3.0+" diff --git a/royalpack/commands/abstract/linker.py b/royalpack/commands/abstract/linker.py new file mode 100644 index 00000000..3f10327b --- /dev/null +++ b/royalpack/commands/abstract/linker.py @@ -0,0 +1,10 @@ +from typing import * +import royalnet +import royalnet.commands as rc +import abc + + +class LinkerCommand(rc.Command, metaclass=abc.ABCMeta): + + async def run(self, args: rc.CommandArgs, data: rc.CommandData) -> None: + ... diff --git a/royalpack/tables/steam.py b/royalpack/tables/steam.py index 3e2b2447..1e4fedbd 100644 --- a/royalpack/tables/steam.py +++ b/royalpack/tables/steam.py @@ -70,6 +70,10 @@ class Steam: "avatar": self.avatar, "primary_clan_id": self.primary_clan_id, "account_creation_date": self.account_creation_date.isoformat(), + "account_level": self.account_level, + "owned_games_count": self.owned_games_count, + "most_played_game_2weeks": self.most_played_game_2weeks, + "most_played_game_forever": self.most_played_game_forever, "dota": self.dota.json() if self.dota is not None else None, "brawlhalla": self.brawlhalla.json() if self.brawlhalla is not None else None diff --git a/royalpack/version.py b/royalpack/version.py index 2ee9ff43..64511ad8 100644 --- a/royalpack/version.py +++ b/royalpack/version.py @@ -1 +1 @@ -semantic = "5.11.0" +semantic = "5.11.1"