You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
233 B
Python
20 lines
233 B
Python
10 months ago
|
import asyncio
|
||
|
|
||
|
import config
|
||
|
import bot
|
||
|
import server
|
||
|
|
||
|
import signal
|
||
|
import sys
|
||
|
|
||
|
|
||
|
async def main():
|
||
|
await asyncio.gather(
|
||
|
bot.polling(),
|
||
|
server.start(),
|
||
|
)
|
||
|
|
||
|
|
||
|
if __name__ == "__main__":
|
||
|
asyncio.run(main())
|