From 89e9feecf341232809e22396b0efe452b2f7369e Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Thu, 21 Aug 2025 09:54:08 -0600 Subject: [PATCH] AGAFSAD --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index a9fe709..9c007a3 100644 --- a/index.js +++ b/index.js @@ -1,6 +1,7 @@ const express = require('express'); const Discord = require("discord.js"); -if (process.env.DISCORD_WEBHOOK) {const hook = new Discord.WebhookClient({ url: process.env.DISCORD_WEBHOOK })} +let hook; +if (process.env.DISCORD_WEBHOOK) {hook = new Discord.WebhookClient({ url: process.env.DISCORD_WEBHOOK })} const app = express(); const port = process.env.SERVER_PORT || 3000; const path = require('path');