From 20cc754a2af3fed59fa0c5f68e9fe523c32a3bcf Mon Sep 17 00:00:00 2001 From: profitroll Date: Wed, 3 Jan 2024 23:56:34 +0100 Subject: [PATCH] Fixed wrong variable being used in PyroClient.start() --- src/libbot/pyrogram/classes/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libbot/pyrogram/classes/client.py b/src/libbot/pyrogram/classes/client.py index be5808f..c246434 100644 --- a/src/libbot/pyrogram/classes/client.py +++ b/src/libbot/pyrogram/classes/client.py @@ -178,7 +178,7 @@ class PyroClient(Client): ) logger.info( "Bot's info for the locale %s has been updated", - self.default_locale, + self.code, ) except KeyError: logger.warning(