forked from Pavel_Durov/python_bot
fix
This commit is contained in:
parent
17f7df25c0
commit
bf908614eb
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 message.reply(numb)
|
await bot.send_message(message.from_user.id,(numb))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user