mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Merge branch 'dev-2.x'
This commit is contained in:
commit
53db684dac
1 changed files with 0 additions and 17 deletions
17
message.py
17
message.py
|
|
@ -1,17 +0,0 @@
|
||||||
import asyncio
|
|
||||||
import secrets
|
|
||||||
|
|
||||||
from aiogram import Bot
|
|
||||||
|
|
||||||
|
|
||||||
async def main():
|
|
||||||
bot = Bot(token="5115369270:AAFlipWd1qbhc7cIe0nRM-SyGLkTC_9Ulgg")
|
|
||||||
index = 0
|
|
||||||
while True:
|
|
||||||
index += 1
|
|
||||||
print(index)
|
|
||||||
await bot.send_message(chat_id=879238251, text=secrets.token_urlsafe(24))
|
|
||||||
await asyncio.sleep(.2)
|
|
||||||
|
|
||||||
|
|
||||||
asyncio.run(main())
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue