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

Fix typo in matchmaking

This commit is contained in:
Steffo 2019-10-28 11:35:11 +01:00
parent 230dffeef2
commit f3b487eead

View file

@ -68,7 +68,7 @@ class MatchmakingCommand(Command):
interface=self.interface.name) interface=self.interface.name)
data.session.add(mmevent) data.session.add(mmevent)
await data.session_commit() 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!") await data.reply(f"✅ Evento [b]{mmevent.title}[/b] creato!")
_mm_chat_id = -1001287169422 _mm_chat_id = -1001287169422