mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +00:00
publish: 5.11.1
This commit is contained in:
parent
47bc6e136d
commit
2e09b0e30e
4 changed files with 16 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "royalpack"
|
name = "royalpack"
|
||||||
version = "5.11.0"
|
version = "5.11.1"
|
||||||
description = "A Royalnet command pack for the Royal Games community"
|
description = "A Royalnet command pack for the Royal Games community"
|
||||||
authors = ["Stefano Pigozzi <ste.pigozzi@gmail.com>"]
|
authors = ["Stefano Pigozzi <ste.pigozzi@gmail.com>"]
|
||||||
license = "AGPL-3.0+"
|
license = "AGPL-3.0+"
|
||||||
|
|
10
royalpack/commands/abstract/linker.py
Normal file
10
royalpack/commands/abstract/linker.py
Normal file
|
@ -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:
|
||||||
|
...
|
|
@ -70,6 +70,10 @@ class Steam:
|
||||||
"avatar": self.avatar,
|
"avatar": self.avatar,
|
||||||
"primary_clan_id": self.primary_clan_id,
|
"primary_clan_id": self.primary_clan_id,
|
||||||
"account_creation_date": self.account_creation_date.isoformat(),
|
"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,
|
"dota": self.dota.json() if self.dota is not None else None,
|
||||||
"brawlhalla": self.brawlhalla.json() if self.brawlhalla is not None else None
|
"brawlhalla": self.brawlhalla.json() if self.brawlhalla is not None else None
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
semantic = "5.11.0"
|
semantic = "5.11.1"
|
||||||
|
|
Loading…
Reference in a new issue