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

Fix matchmaking.py

This commit is contained in:
Steffo 2020-04-29 00:52:05 +02:00
parent 8b9de800d4
commit b0463436c4

View file

@ -160,7 +160,7 @@ class MatchmakingCommand(Command):
@staticmethod
def _gen_unauth_message(user: User):
return f"⚠️ Non sono autorizzato a mandare messaggi a [b]{user.username}[/b]!\n" \
f"{user.telegram.mention()}, apri una chat privata con me e mandami un messaggio!"
f"{user.telegram[0].mention()}, apri una chat privata con me e mandami un messaggio!"
@sentry_async_wrap()
async def _run_mmevent(self, mmid: int):