Fixed function name
This commit is contained in:
parent
fdd5ad7ff0
commit
de00687cbf
@ -15,7 +15,7 @@ logger = logging.getLogger(__name__)
|
|||||||
& filters.group
|
& filters.group
|
||||||
& filters.command(["language_auto"], prefixes=["/"]) # type: ignore
|
& 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)
|
group = await PyroGroup.create_if_not_exists(message.chat.id, None, True)
|
||||||
locale = group.select_locale(app, message.from_user)
|
locale = group.select_locale(app, message.from_user)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user