отклик добавит
This commit is contained in:
1 parent
48df539ee6
commit
80ecdaea02
3 files changed
+65
-31
No files matched your search
+20
-1
@@ -164,7 +164,26 @@ async def da(bot, message, user_id):
|
||||
inline_keyboard=[
|
||||
[
|
||||
InlineKeyboardButton(
|
||||
text="⬅️ назад", callback_data=f"gcancel%{alo_command[user_id]['group_id']}%{user_id}"
|
||||
text="⬅️ назад", callback_data=f"gcancel%{alo_command[user_id]['group_id']}%{user_id}", style="primary"
|
||||
),
|
||||
],
|
||||
]
|
||||
)
|
||||
)
|
||||
elif alo_command[user_id]["action"] == "calling":
|
||||
alo_command[user_id]["action"] = None
|
||||
words = [w.strip() for w in message.text.split(",") if w.strip()][:10]
|
||||
set_user_setting(user_id, calling=words)
|
||||
|
||||
return await bot.edit_message_text(
|
||||
text="свои слова отклика сохранены✅",
|
||||
chat_id=alo_command[user_id]["chat_id"],
|
||||
message_id=alo_command[user_id]["message_id"],
|
||||
reply_markup=InlineKeyboardMarkup(
|
||||
inline_keyboard=[
|
||||
[
|
||||
InlineKeyboardButton(
|
||||
text="⬅️ назад", callback_data=f"call%{user_id}", style="primary"
|
||||
),
|
||||
],
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user