mirror of
https://github.com/kurbezz/discord-bot.git
synced 2025-12-06 15:15:37 +01:00
Fix starting
This commit is contained in:
@@ -3,9 +3,16 @@ 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())
|
||||
|
||||
Reference in New Issue
Block a user