Skip to content

Webhook

webhook

Functions:

Name Description
send_to_webhook

send_to_webhook

send_to_webhook(url: str, content: str) -> None
Source code in src/utils/webhook.py
5
6
7
8
async def send_to_webhook(url: str, content: str) -> None:
    async with aiohttp.ClientSession() as session:
        webhook = nextcord.Webhook.from_url(url, session=session)
        await webhook.send(content)