From b0463436c4b65885ac4bd22cc2dd73d9e4949bbd Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 29 Apr 2020 00:52:05 +0200 Subject: [PATCH] Fix matchmaking.py --- royalpack/commands/matchmaking.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/royalpack/commands/matchmaking.py b/royalpack/commands/matchmaking.py index fbe080fd..bdccdb38 100644 --- a/royalpack/commands/matchmaking.py +++ b/royalpack/commands/matchmaking.py @@ -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):