mirror of
https://github.com/kurbezz/discord-bot.git
synced 2025-12-06 15:15:37 +01:00
19 lines
342 B
Python
19 lines
342 B
Python
from asyncio import gather
|
|
|
|
from services.discord import start_discord_sevice
|
|
from services.twitch import start_twitch_service
|
|
|
|
|
|
async def main():
|
|
print("Starting services...")
|
|
await gather(
|
|
start_discord_sevice(),
|
|
start_twitch_service()
|
|
)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
from asyncio import run
|
|
|
|
run(main())
|