diff --git a/bot.py b/bot.py index e352a75..3bcec34 100644 --- a/bot.py +++ b/bot.py @@ -1,6 +1,7 @@ from cgitb import text import datetime import logging +from random import randint from aiogram import Bot, Dispatcher, executor, types from aiogram.types import ReplyKeyboardRemove, ReplyKeyboardMarkup, KeyboardButton @@ -33,6 +34,14 @@ async def send_time(message: types.Message): num=(str(raznitsa) + ' ' + days[p]) await message.reply(f'Сегодня {cd} \nВремя: {ct2} \nДо Нового Года осталось {num}') + + #####______________________ПИПИСА БОТ БУДЕТ ЗДЕСЬ__________________________________ + @dp.message_handler(commands=["DickUp"]) + async def dickup(message: types.Message): + numb = (f"Рандомное число - {randint(-7,10)}") + await dickup.send(numb) + +