Fixed function name

This commit is contained in:
Profitroll 2023-08-14 12:12:07 +02:00
parent fdd5ad7ff0
commit de00687cbf
Signed by: profitroll
GPG Key ID: FA35CAB49DACD3B2

View File

@ -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)