Skip to content

Commit

Permalink
- Fix runtime error
Browse files Browse the repository at this point in the history
  • Loading branch information
ParticleG committed Nov 5, 2024
1 parent 9928779 commit 156ed3b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -623,5 +623,4 @@ jobs:
}
]
})
response = requests.request("POST", "${{ secrets.DISCORD_WEBHOOK }}", headers=headers, data=payload)
print(response.json()["type"] == 0 and "Message sent successfully" or "Failed to send message")
requests.request("POST", "${{ secrets.DISCORD_WEBHOOK }}", headers=headers, data=payload)

0 comments on commit 156ed3b

Please sign in to comment.