From de00687cbfcee1ed2f8ea815875b5d2fcf4434ff Mon Sep 17 00:00:00 2001 From: profitroll Date: Mon, 14 Aug 2023 12:12:07 +0200 Subject: [PATCH] Fixed function name --- plugins/commands/language_auto.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/commands/language_auto.py b/plugins/commands/language_auto.py index 6cc3cf9..3a1f782 100644 --- a/plugins/commands/language_auto.py +++ b/plugins/commands/language_auto.py @@ -15,7 +15,7 @@ logger = logging.getLogger(__name__) & filters.group & filters.command(["language_auto"], prefixes=["/"]) # type: ignore ) -async def command_language(app: PyroClient, message: Message): +async def command_language_auto(app: PyroClient, message: Message): group = await PyroGroup.create_if_not_exists(message.chat.id, None, True) locale = group.select_locale(app, message.from_user)