randydev commited on
Commit
2ea5a6d
Β·
verified Β·
1 Parent(s): efe83ab

Update chatbot/plugins/chat.py

Browse files
Files changed (1) hide show
  1. chatbot/plugins/chat.py +4 -7
chatbot/plugins/chat.py CHANGED
@@ -760,17 +760,14 @@ async def response_call(client, callback):
760
  ],
761
  [
762
  [
763
- InlineKeyboardButton("πŸ‘", callback_data="like"),
764
- InlineKeyboardButton("πŸ‘Ž", callback_data="unlike")
765
  ]
766
  ]
767
  ]
768
  )
769
- await callback.edit_message_reply_markup(
770
- reply_markup=keyboard
771
- )
772
- return keyboard
773
-
774
 
775
  def create_keyboard(
776
  likes: int = 0,
 
760
  ],
761
  [
762
  [
763
+ InlineKeyboardButton("πŸ‘ 0", callback_data="like"),
764
+ InlineKeyboardButton("πŸ‘Ž 0", callback_data="unlike")
765
  ]
766
  ]
767
  ]
768
  )
769
+ await callback.edit_message_reply_markup(reply_markup=keyboard)
770
+ return
 
 
 
771
 
772
  def create_keyboard(
773
  likes: int = 0,