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

publish: 5.7.5

This commit is contained in:
Steffo 2020-04-21 23:41:59 +02:00
parent f249a7ea5b
commit 6dc9e3aa30
3 changed files with 7 additions and 7 deletions

View file

@ -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 <ste.pigozzi@gmail.com>"]
license = "AGPL-3.0+"

View file

@ -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"],

View file

@ -1 +1 @@
semantic = "5.7.4"
semantic = "5.7.5"