const pingDiscord = async (url: string, username: string, content: string): Promise<Response> =>
await fetch(url, {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
username: username,
content: content,
}),
});
export default pingDiscord;