mirror of
https://github.com/michivonah/themepark-alerts.git
synced 2025-12-22 20:36:27 +01:00
add message
This commit is contained in:
parent
99d3cea8b0
commit
51dccb0898
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
|
@ -18,5 +18,5 @@ result = req.json()
|
|||
|
||||
webhookUrl = os.getenv('DISCORD_WEBHOOK')
|
||||
|
||||
webhook = DiscordWebhook(url=webhookUrl, content=result)
|
||||
webhook = DiscordWebhook(url=webhookUrl, content=result["error"])
|
||||
response = webhook.execute()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue