<gh_stars>1-10
import requests


def discord_hook(hook_url, payload):
    response = requests.post(hook_url, json=payload)
    return response.status_code == 200

import requests


def discord_hook(hook_url, payload):
    response = requests.post(hook_url, json=payload)
    return response.status_code == 200