keepalive/discord_notifications.py
async def send_discord_message(
    config: Config, session: aiohttp.ClientSession, content: str
) -> None:
    """
    Send a discord message through the configured webhook URL.
    """
    await session.post(
        config["discord_webhook_url"],
        json={
            "content": content,
        },
        raise_for_status=True,
    )

    Send a discord message through the configured webhook URL.
    
Send a discord message through the configured webhook URL.
Send a discord message through the configured webhook URL .
async def send_discord_message(
    config: Config, session: aiohttp.ClientSession, content: str
) -> None:
    await session.post(
        config["discord_webhook_url"],
        json={
            "content": content,
        },
        raise_for_status=True,
    )
async def send_discord_message ( config : Config , session : aiohttp . ClientSession , content : str ) -> None : await session . post ( config [ "discord_webhook_url" ] , json = { "content" : content , } , raise_for_status = True , )
Send a discord message through the configured webhook URL.
Send a discord message through the configured webhook URL .
"""
    Send a discord message through the configured webhook URL.
    """
config
Config
session
aiohttp.ClientSession
content
str