Skip to content

Instantly share code, notes, and snippets.

@Bilka2
Bilka2 / webhook.py
Last active October 12, 2024 18:57
Simple discord webhook with python
import requests # dependency
url = "<your url>" # webhook url, from here: https://i.imgur.com/f9XnAew.png
# for all params, see https://discordapp.com/developers/docs/resources/webhook#execute-webhook
data = {
"content" : "message content",
"username" : "custom username"
}