mirror of
https://github.com/kurbezz/discord-bot.git
synced 2026-03-03 22:30:47 +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.discord import start_discord_sevice
|
||||||
from services.twitch import start_twitch_service
|
from services.twitch import start_twitch_service
|
||||||
|
|
||||||
|
|
||||||
async def main():
|
async def main():
|
||||||
print("Starting services...")
|
print("Starting services...")
|
||||||
await gather(
|
await gather(
|
||||||
start_discord_sevice(),
|
start_discord_sevice(),
|
||||||
start_twitch_service()
|
start_twitch_service()
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
from asyncio import run
|
||||||
|
|
||||||
|
run(main())
|
||||||
|
|||||||
Reference in New Issue
Block a user