From 8a1d844439e9bdcc687038655fa5b58002af6b95 Mon Sep 17 00:00:00 2001 From: baz Date: Mon, 27 Nov 2023 23:40:14 +0000 Subject: [PATCH] index.js clean up --- index.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/index.js b/index.js index dbf74e6..6526700 100644 --- a/index.js +++ b/index.js @@ -1,15 +1,13 @@ // Require the necessary discord.js classes const fs = require('node:fs'); const path = require('node:path'); -const { pathToFileURL } = require('node:url'); -const { fileURLToPath } = require('url'); const { Client, Collection, Events, GatewayIntentBits } = require('discord.js'); const { config } = require('dotenv'); config(); const { igdb } = require('./igdb.js'); -const igdbHelper = new igdb(); +new igdb(); // Create a new client instance const client = new Client({ intents: [GatewayIntentBits.Guilds] }); @@ -78,4 +76,4 @@ const Tags = sequelize.define('tags', { client.once(Events.ClientReady, () => { Tags.sync({ force: true }); console.log(`Logged in as ${client.user.tag}!`); -}) \ No newline at end of file +}); \ No newline at end of file