keepalive/discord_notifications.py
async def on_service_healthy(
    config: Config, service: Service, session: aiohttp.ClientSession
) -> None:
    """
    Notify discord webhook when a service is healthy.
    """
    await send_discord_message(
        config,
        session,
        textwrap.dedent(
            f"""
            :salad: **__{service['name']}__** :salad:

            Service looks healthy!

            {service['check']['url']}
            """
        ),
    )

    Notify discord webhook when a service is healthy.
    
Notify discord webhook when a service is healthy.
Notify discord webhook when a service is healthy .
async def on_service_healthy(
    config: Config, service: Service, session: aiohttp.ClientSession
) -> None:
    await send_discord_message(
        config,
        session,
        textwrap.dedent(
            f"""
            :salad: **__{service['name']}__** :salad:
            Service looks healthy!
            {service['check']['url']}
            """
        ),
    )
async def on_service_healthy ( config : Config , service : Service , session : aiohttp . ClientSession ) -> None : await send_discord_message ( config , session , textwrap . dedent ( f"""
            :salad: **__{service['name']}__** :salad:

            Service looks healthy!

            {service['check']['url']}
            """ ) , )
Notify discord webhook when a service is healthy.
Notify discord webhook when a service is healthy .
"""
    Notify discord webhook when a service is healthy.
    """
config
Config
service
Service
session
aiohttp.ClientSession