From 2c88c3373b5204ded3118c2ef2cc5d67c3ef5a51 Mon Sep 17 00:00:00 2001 From: kry008 Date: Thu, 30 May 2024 11:23:51 +0200 Subject: [PATCH] quick fix --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 12058a0..8a77d4d 100644 --- a/index.js +++ b/index.js @@ -3,7 +3,7 @@ const { Client, Events, GatewayIntentBits, Collection, PermissionsBitField } = r const { token, prefix, wwwport } = require('./config.json'); const fs = require('fs'); const path = require('path'); -var http = require('http'); +/*var http = require('http'); http.createServer(function (req, res) { //res.write('Strona domowa: Bot v2.0, link zaproszenia: https://discord.com/oauth2/authorize?client_id=883390927383724112'); var json = { @@ -14,7 +14,7 @@ http.createServer(function (req, res) { res.write(JSON.stringify(json)); res.end(); }).listen(wwwport || 8080); - +*/ const client = new Client({ intents: [ GatewayIntentBits.Guilds,