mirror of
https://git.arson.gg/lilith/discord-bot.git
synced 2025-12-05 03:34:49 +01:00
Remove AI "features".
This commit is contained in:
parent
fe9a0c46af
commit
753dfadf68
6 changed files with 1 additions and 227 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue