Changed to run on port 1000
This commit is contained in:
parent
4e0a2890b2
commit
41f13abd0c
1 changed files with 8 additions and 0 deletions
8
main.js
8
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,
|
||||
|
|
Loading…
Reference in a new issue