Changed to run on port 1000

This commit is contained in:
ZyLacx 2023-02-08 15:44:57 +01:00
parent 4e0a2890b2
commit 41f13abd0c

View file

@ -3,6 +3,14 @@
https://discord.com/developers/docs/topics/gateway#privileged-intents 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 Discord = require('discord.js');
const { const {
Client, Client,