Minor fix

Signed-off-by: anasty17 <e.anastayyar@gmail.com>
This commit is contained in:
anasty17 2024-11-06 04:15:45 +02:00
parent e752bb1e8b
commit efe2c21af4
No known key found for this signature in database
GPG Key ID: EAAC8A2DF2861DE4

View File

@ -31,7 +31,7 @@ async def send_message(message, text, buttons=None, block=True):
async def edit_message(message, text, buttons=None, block=True):
try:
await message.edit(
return await message.edit(
text=text,
disable_web_page_preview=True,
reply_markup=buttons,