From bf908614eb29deaa7a4e80567f1b78f0aa8205a5 Mon Sep 17 00:00:00 2001 From: Pavel_Duron Date: Fri, 4 Nov 2022 19:14:38 +1000 Subject: [PATCH] fix --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index dcad81d..7e4ac8a 100644 --- a/bot.py +++ b/bot.py @@ -40,7 +40,7 @@ async def send_time(message: types.Message): @dp.message_handler(commands=["dick"]) async def dick(message: types.Message): numb = (f"Рандомное число - {randint(-7,10)}") - await message.reply(numb) + await bot.send_message(message.from_user.id,(numb))