AGAFSAD
This commit is contained in:
parent
7f0deed2cc
commit
89e9feecf3
3
index.js
3
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');
|
||||
|
|
Loading…
Reference in a new issue