diff --git a/bot.py b/bot.py index 7e4ac8a..45dc075 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 bot.send_message(message.from_user.id,(numb)) + await bot.send_message(message.chat.id, (numb))