forked from FOSS/ASF-Control-Bot
style: reformat handlers and UI for readability
This commit is contained in:
@@ -27,7 +27,9 @@ async def redeem_keys_menu(callback: CallbackQuery) -> None:
|
||||
)
|
||||
|
||||
|
||||
@router.callback_query(lambda c: c.data and c.data.startswith("redeem_bot_"), AdminCallbackFilter())
|
||||
@router.callback_query(
|
||||
lambda c: c.data and c.data.startswith("redeem_bot_"), AdminCallbackFilter()
|
||||
)
|
||||
async def redeem_bot_menu(callback: CallbackQuery) -> None:
|
||||
await callback.answer()
|
||||
bot_name = callback.data.replace("redeem_bot_", "") # type: ignore[union-attr]
|
||||
|
||||
Reference in New Issue
Block a user