From 8e319375f9195b5ad0c31729063e59f35011c0d1 Mon Sep 17 00:00:00 2001 From: Taken Date: Wed, 14 Jun 2023 19:05:12 +0200 Subject: [PATCH] Removing unneccesarry stuff --- index.js | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/index.js b/index.js index 398a289..14679b9 100644 --- a/index.js +++ b/index.js @@ -1,5 +1,4 @@ -const {Client, GatewayIntentBits, Partials, ActivityType, Events, Collection} = - require('discord.js'); +const {Client, GatewayIntentBits, Partials, ActivityType, Events, Collection} = require('discord.js'); const {botLogChannel, color} = require('./config/options.json'); const env = require('dotenv').config(); const token = process.env.TOKEN; @@ -7,10 +6,6 @@ const mongoURI = process.env.MONGOURI; const {connect} = require('mongoose'); const path = require('path'); const fs = require('fs'); -<<<<<<< HEAD -const {parseArgs} = require('util'); -======= ->>>>>>> ce5f0e69a420358f6ba11e9ad1dfa82c25e5ca90 const client = new Client({ intents : [ @@ -231,10 +226,6 @@ client.on(Events.ClientReady, () => { client.on(Events.ClientReady, () => { client.user.setStatus('dnd'); }); client.login(token); -<<<<<<< HEAD -connect(mongoURI, {}).then(() => { console.log('Connected to MongoDB'); }) -======= connect(mongoURI, {}).then(() => { console.log('Connected to MongoDB'); }) ->>>>>>> ce5f0e69a420358f6ba11e9ad1dfa82c25e5ca90