Remove AI "features".

This commit is contained in:
Lilith Ashley Nyx Arson 2025-06-27 19:51:08 +00:00
parent fe9a0c46af
commit 753dfadf68
6 changed files with 1 additions and 227 deletions

View file

@ -1,5 +1,4 @@
const { REST, Routes, Client, Collection, GatewayIntentBits, Events, Partials, InteractionType, ActivityType } = require("discord.js");
const { default: Groq } = require("groq-sdk");
const server = require("./server");
const { knex } = require("./db.js");
const path = require("node:path");
@ -12,7 +11,6 @@ const client = new Client({
});
client.commands = new Collection();
client.groq = new Groq({ apiKey: process.env.GROQ_API_KEY });
client.prompts = [];
var promptsDir = path.join(__dirname, "prompts");
@ -55,7 +53,6 @@ client.on(Events.InteractionCreate, async interaction => {
console.log(`${interaction.user.username} ran ${(interaction.isChatInputCommand() ? "/" : '') + interaction.commandName}`);
try {
interaction.defaultModel = "llama-3.3-70b-versatile";
await command.execute(interaction);
} catch (err) {
console.error(err);