This commit is contained in:
parent
bf908614eb
commit
cf74ad895d
2
bot.py
2
bot.py
@ -40,7 +40,7 @@ async def send_time(message: types.Message):
|
|||||||
@dp.message_handler(commands=["dick"])
|
@dp.message_handler(commands=["dick"])
|
||||||
async def dick(message: types.Message):
|
async def dick(message: types.Message):
|
||||||
numb = (f"Рандомное число - {randint(-7,10)}")
|
numb = (f"Рандомное число - {randint(-7,10)}")
|
||||||
await bot.send_message(message.from_user.id,(numb))
|
await bot.send_message(message.chat.id, (numb))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user