Modularity overhaul
This commit is contained in:
9
modules/callbacks/nothing.py
Normal file
9
modules/callbacks/nothing.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from app import app
|
||||
from pyrogram import filters
|
||||
from modules.utils import locale
|
||||
|
||||
# Callback empty ===============================================================================================================
|
||||
@app.on_callback_query(filters.regex("nothing")) # type: ignore
|
||||
async def callback_query_nothing(app, clb):
|
||||
await clb.answer(text=locale("nothing", "callback"))
|
||||
# ==============================================================================================================================
|
Reference in New Issue
Block a user