add ограничение на раз в сутки
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
2ce143a212
commit
11af9fc2b2
11
bot.py
11
bot.py
@ -44,14 +44,11 @@ async def send_time(message: types.Message):
|
|||||||
|
|
||||||
#####______________________ПИПИСА БОТ БУДЕТ ЗДЕСЬ__________________________________
|
#####______________________ПИПИСА БОТ БУДЕТ ЗДЕСЬ__________________________________
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@dp.message_handler(commands=["dick"])
|
@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):
|
async def ident(message: types.Message):
|
||||||
# рандомайзер
|
# рандомайзер
|
||||||
numb = randint(-7,10)
|
numb = randint(-7,10)
|
||||||
|
Loading…
Reference in New Issue
Block a user