Update chatbot/plugins/chat.py
Browse files- 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 |
-
|
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,
|