From f3b487eead6ada352f073e16b50d597d64fbb7f3 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 28 Oct 2019 11:35:11 +0100 Subject: [PATCH] Fix typo in matchmaking --- royalnet/packs/royal/commands/matchmaking.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/royalnet/packs/royal/commands/matchmaking.py b/royalnet/packs/royal/commands/matchmaking.py index 088c5440..3fe9c01c 100644 --- a/royalnet/packs/royal/commands/matchmaking.py +++ b/royalnet/packs/royal/commands/matchmaking.py @@ -68,7 +68,7 @@ class MatchmakingCommand(Command): interface=self.interface.name) data.session.add(mmevent) await data.session_commit() - self.interface.loop(self._run_mmevent(mmevent.mmid)) + self.interface.loop.create_task(self._run_mmevent(mmevent.mmid)) await data.reply(f"✅ Evento [b]{mmevent.title}[/b] creato!") _mm_chat_id = -1001287169422