From 6f122dac412e5e90bceadb65bc5dabc9673aff23 Mon Sep 17 00:00:00 2001 From: Shohih Abdul <50512936+DoellBarr@users.noreply.github.com> Date: Mon, 1 Nov 2021 16:50:46 +0700 Subject: [PATCH] spesific the answer --- program/callback.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/program/callback.py b/program/callback.py index 296047e..19f2db5 100644 --- a/program/callback.py +++ b/program/callback.py @@ -166,7 +166,7 @@ async def cbsudo(_, query: CallbackQuery): async def cbmenu(_, query: CallbackQuery): a = await _.get_chat_member(query.message.chat.id, query.from_user.id) if not a.can_manage_voice_chats: - return await query.answer("💡 only admin can tap this button !") + return await query.answer("💡 only admin with manage voice chats permission that can tap this button !") await query.edit_message_text( "⚙️ **opened control menu panel**", reply_markup=InlineKeyboardMarkup( @@ -189,5 +189,5 @@ async def cbmenu(_, query: CallbackQuery): async def close(_, query: CallbackQuery): a = await _.get_chat_member(query.message.chat.id, query.from_user.id) if not a.can_manage_voice_chats: - return await query.answer("💡 only admin can tap this button !") + return await query.answer("💡 only admin with manage voice chats permission that can tap this button !") await query.message.delete()