A simple Webhooks client for Discord
pip install weebhooks
from webhooks import Weebhook, Embed
hook = Weebhook("WebhookURL", is_async=False)
hook.send("Hello World!")
em = Embed(title="Hello", color=0xff0000).add_field("name", "value")
hook.send(embed=em)
import asyncio
from webhooks import Weebhook
async def main():
hook = Webhook("URL", is_async=True)
await hook.send("Hello, Asynciful World!")
asyncio.get_event_loop().run_until_complete(main())
MIT. It's a library. C'mon.