mirror of
https://github.com/kurbezz/discord-bot.git
synced 2026-03-03 23:30:47 +01:00
Add loggers
This commit is contained in:
@@ -1,11 +1,15 @@
|
||||
from asyncio import gather
|
||||
import logging
|
||||
|
||||
from services.discord import start_discord_sevice
|
||||
from services.twitch import start_twitch_service
|
||||
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
async def main():
|
||||
print("Starting services...")
|
||||
logger.info("Starting services...")
|
||||
await gather(
|
||||
start_discord_sevice(),
|
||||
start_twitch_service()
|
||||
|
||||
Reference in New Issue
Block a user