Fixed language code typo
This commit is contained in:
parent
fcd59b7aca
commit
7918049f49
@ -7,5 +7,5 @@ from modules.utils import locale
|
|||||||
# Callback empty ===============================================================================================================
|
# Callback empty ===============================================================================================================
|
||||||
@app.on_callback_query(filters.regex("nothing"))
|
@app.on_callback_query(filters.regex("nothing"))
|
||||||
async def callback_query_nothing(app: PosterClient, clb: CallbackQuery):
|
async def callback_query_nothing(app: PosterClient, clb: CallbackQuery):
|
||||||
await clb.answer(text=locale("nothing", "callback", locale=clb.from_user))
|
await clb.answer(text=locale("nothing", "callback", locale=clb.from_user.language_code))
|
||||||
# ==============================================================================================================================
|
# ==============================================================================================================================
|
Reference in New Issue
Block a user