This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import email | |
import asyncio | |
import requests | |
import quopri | |
from aiosmtpd.controller import Controller | |
from email.policy import default as default_policy | |
# Closest thing to auth it supports, just use a random long string as the recipient | |
KEY = '<snip>@foobar.com' | |
WEBHOOK_URL = 'https://discord.com/api/webhooks/<snip>' |