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 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", | |
"avatar" : "direct avatar URL", | |
"username" : "custom username" | |
} |