Skip to content

Commit

Permalink
Update callback_settings.py
Browse files Browse the repository at this point in the history
  • Loading branch information
krystlepalace committed Aug 26, 2023
1 parent 71d4bc7 commit a008875
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions handlers/callbacks/callback_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ async def proccess_settings_menu(callback: CallbackQuery):
if callback.data == "settings_anim":
await callback.message.edit_text("Разрешить анимированные стикеры?")
await callback.message.edit_reply_markup("s", anim_inline())
await callback.answer()
await sleep(10)
await callback.message.delete()
await callback.answer()
if callback.data == "settings_voice":
await callback.message.edit_text("Разрешить перевод ГС в текст?")
await callback.message.edit_reply_markup("s", voice_inline())
await callback.answer()
await sleep(10)
await callback.message.delete()
await callback.answer()

0 comments on commit a008875

Please sign in to comment.