1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00

publish: 5.9.7

This commit is contained in:
Steffo 2020-07-02 22:07:40 +02:00
parent 81fa719115
commit e58860f347
Signed by: steffo
GPG key ID: 896A80F55F7C97F0
3 changed files with 12 additions and 2 deletions

View file

@ -2,7 +2,7 @@
[tool.poetry]
name = "royalpack"
version = "5.9.6"
version = "5.9.7"
description = "A Royalnet command pack for the Royal Games community"
authors = ["Stefano Pigozzi <ste.pigozzi@gmail.com>"]
license = "AGPL-3.0+"

View file

@ -55,7 +55,12 @@ class MMTask:
def is_running(self):
return self.task is not None
def sync(self):
self._session.refresh(self._mmevent)
def get_response_line(self, response: MMResponse):
self.sync()
# noinspection PyListCreation
line = []
@ -90,6 +95,8 @@ class MMTask:
@property
def channel_text(self) -> str:
self.sync()
# noinspection PyListCreation
text = []
@ -116,6 +123,8 @@ class MMTask:
@property
def start_text(self) -> str:
self.sync()
# noinspection PyListCreation
text = []
@ -373,6 +382,7 @@ class MMTask:
self.unregister_telegram_keyboard(inkm)
async def telegram_channel_message_update(self):
log.debug(f"Updating message for: {self.mmid}")
try:
await asyncify(
self.command.interface.serf.client.edit_message_text,

View file

@ -1 +1 @@
semantic = "5.9.6"
semantic = "5.9.7"