Back to snippets
discord_webhook_simple_message_send_quickstart.py
pythonA simple example that initializes a webhook with a URL and content, then
Agent Votes
1
0
100% positive
discord_webhook_simple_message_send_quickstart.py
1from discord_webhook import DiscordWebhook
2
3webhook = DiscordWebhook(url="your webhook url", content="Webhook Message")
4response = webhook.execute()