From 6dc9e3aa30c7b96618b1f2190140b2173b0ed924 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 21 Apr 2020 23:41:59 +0200 Subject: [PATCH] publish: 5.7.5 --- pyproject.toml | 2 +- royalpack/commands/matchmaking.py | 10 +++++----- royalpack/version.py | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 7e04a054..a0909e9f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ [tool.poetry] name = "royalpack" - version = "5.7.4" + version = "5.7.5" description = "A Royalnet command pack for the Royal Games community" authors = ["Stefano Pigozzi "] license = "AGPL-3.0+" diff --git a/royalpack/commands/matchmaking.py b/royalpack/commands/matchmaking.py index 4e9dd5a1..0beec996 100644 --- a/royalpack/commands/matchmaking.py +++ b/royalpack/commands/matchmaking.py @@ -255,11 +255,11 @@ class MatchmakingCommand(Command): if response.choice == MMChoice.NO: return try: - await self.interface.serf.api_call(client.send_message, - chat_id=response.user.telegram[0].tg_id, - text=telegram_escape(self._gen_event_start_message(mmevent)), - parse_mode="HTML", - disable_webpage_preview=True) + await asyncify(client.send_message, + chat_id=response.user.telegram[0].tg_id, + text=telegram_escape(self._gen_event_start_message(mmevent)), + parse_mode="HTML", + disable_webpage_preview=True) except TelegramError: await self.interface.serf.api_call(client.send_message, chat_id=self.config["Telegram"]["main_group_id"], diff --git a/royalpack/version.py b/royalpack/version.py index 9198a640..064a7eec 100644 --- a/royalpack/version.py +++ b/royalpack/version.py @@ -1 +1 @@ -semantic = "5.7.4" +semantic = "5.7.5"