Python
- 2 ответа
- 0 вопросов
1
Вклад в тег
async def working(dp):
while True:
for userid in userids:
await bot.send_message(userid, 'privetqtqeteqwqeteqwtgewq')
await asyncio.sleep(15)
if __name__ == "__main__":
executor.start_polling(dp, on_startup=working)