Compare commits
3 Commits
5c526f1371
...
9d3ff4f1a2
Author | SHA1 | Date |
---|---|---|
Alex Kotov | 9d3ff4f1a2 | |
Alex Kotov | 51754e363a | |
Alex Kotov | 313221a2cf |
12
mirrortea
12
mirrortea
|
@ -1,10 +1,18 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
import asyncio
|
||||
from nio import AsyncClient
|
||||
|
||||
import aiogram as telegram
|
||||
import nio as matrix
|
||||
|
||||
async def main():
|
||||
await asyncio.gather(matrix_loop(), telegram_loop())
|
||||
|
||||
async def matrix_loop():
|
||||
print(123)
|
||||
|
||||
async def telegram_loop():
|
||||
print(456)
|
||||
|
||||
if __name__ == '__main__':
|
||||
asyncio.get_event_loop().run_until_complete(main())
|
||||
asyncio.run(main())
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
aiogram==2.24
|
||||
matrix-nio==0.20.1
|
||||
|
|
Loading…
Reference in New Issue