mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +00:00
publish: 5.7.5
This commit is contained in:
parent
f249a7ea5b
commit
6dc9e3aa30
3 changed files with 7 additions and 7 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "royalpack"
|
name = "royalpack"
|
||||||
version = "5.7.4"
|
version = "5.7.5"
|
||||||
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+"
|
||||||
|
|
|
@ -255,11 +255,11 @@ class MatchmakingCommand(Command):
|
||||||
if response.choice == MMChoice.NO:
|
if response.choice == MMChoice.NO:
|
||||||
return
|
return
|
||||||
try:
|
try:
|
||||||
await self.interface.serf.api_call(client.send_message,
|
await asyncify(client.send_message,
|
||||||
chat_id=response.user.telegram[0].tg_id,
|
chat_id=response.user.telegram[0].tg_id,
|
||||||
text=telegram_escape(self._gen_event_start_message(mmevent)),
|
text=telegram_escape(self._gen_event_start_message(mmevent)),
|
||||||
parse_mode="HTML",
|
parse_mode="HTML",
|
||||||
disable_webpage_preview=True)
|
disable_webpage_preview=True)
|
||||||
except TelegramError:
|
except TelegramError:
|
||||||
await self.interface.serf.api_call(client.send_message,
|
await self.interface.serf.api_call(client.send_message,
|
||||||
chat_id=self.config["Telegram"]["main_group_id"],
|
chat_id=self.config["Telegram"]["main_group_id"],
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
semantic = "5.7.4"
|
semantic = "5.7.5"
|
||||||
|
|
Loading…
Reference in a new issue