From 70c81b1fedef2268ebe1a65426b71d60a7ce3792 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jannes=20H=C3=B6ke?= Date: Sun, 19 Nov 2023 00:32:01 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20bad=20reference?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 72c2d650..25cf59c3 100644 --- a/bot.py +++ b/bot.py @@ -79,7 +79,7 @@ def new_game(update: Update, context: CallbackContext): if update.message.chat_id in gm.remind_dict: for user in gm.remind_dict[update.message.chat_id]: - send_async(bot, + send_async(context.bot, user, text=_("A new game has been started in {title}").format( title=update.message.chat.title))