add ограничение на раз в сутки
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pavel_Duron 2022-11-15 15:25:08 +10:00
parent 2ce143a212
commit 11af9fc2b2

11
bot.py
View File

@ -44,14 +44,11 @@ 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.chat.id, (numb))
@dp.message_handler(commands=["id"])
async def ident(message: types.Message):
# рандомайзер
numb = randint(-7,10)