diff --git a/base/JaBa.js b/base/JaBa.js index d7544346..8bdac58c 100644 --- a/base/JaBa.js +++ b/base/JaBa.js @@ -2,8 +2,7 @@ const { Client, Collection, SlashCommandBuilder, ContextMenuCommandBuilder } = r { Player } = require("discord-player"), { GiveawaysManager } = require("discord-giveaways"), { REST } = require("@discordjs/rest"), - { Routes } = require("discord-api-types/v10"), - { Configuration, OpenAIApi } = require("openai"); + { Routes } = require("discord-api-types/v10"); const BaseEvent = require("./BaseEvent.js"), BaseCommand = require("./BaseCommand.js"), @@ -35,12 +34,6 @@ class JaBa extends Client { this.databaseCache.usersReminds = new Collection(); this.databaseCache.mutedUsers = new Collection(); - const configuration = new Configuration({ - apiKey: this.config.apiKeys.openai, - }); - - this.openai = new OpenAIApi(configuration); - this.player = Player.singleton(this); this.player.events.on("playerStart", async (queue, track) => {