From 41f13abd0c16632eefbb35586d82e755bb57cf2b Mon Sep 17 00:00:00 2001 From: ZyLacx Date: Wed, 8 Feb 2023 15:44:57 +0100 Subject: [PATCH] Changed to run on port 1000 --- main.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/main.js b/main.js index eae4274..c68c157 100755 --- a/main.js +++ b/main.js @@ -3,6 +3,14 @@ https://discord.com/developers/docs/topics/gateway#privileged-intents */ +var http = require('http'); +http.createServer(function (req, res) { + res.writeHead(200, {'Content-Type': 'text/plain'}); + res.end('Hello World\n'); +}).listen(1000, "127.0.0.1"); + +console.log('Server running at http://127.0.0.1::8124/'); + const Discord = require('discord.js'); const { Client,