remove uwu, edit package
This commit is contained in:
parent
7ec7325c80
commit
7d8f331c93
3 changed files with 5 additions and 11 deletions
11
package.json
11
package.json
|
@ -1,18 +1,15 @@
|
|||
{
|
||||
"name": "discord-alttext",
|
||||
"version": "1.0.0",
|
||||
"version": "0.0.1",
|
||||
"description": "",
|
||||
"main": "src/index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"scripts": {},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"discord.js": "^14.16.3",
|
||||
"dotenv": "^16.4.5",
|
||||
"groq-sdk": "^0.7.0",
|
||||
"uwuifier": "^4.2.2"
|
||||
"groq-sdk": "^0.7.0"
|
||||
}
|
||||
}
|
|
@ -45,7 +45,7 @@ module.exports = {
|
|||
"model": "llama-3.2-11b-vision-preview"
|
||||
})).choices[0].message.content.trim();
|
||||
|
||||
if (description.length < 1024) {
|
||||
if (description.length < 2000) {
|
||||
const embed = new EmbedBuilder()
|
||||
.setTitle(attachment.name)
|
||||
.setDescription(description);
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
const { REST, Routes, Client, Collection, GatewayIntentBits, Events } = require('discord.js');
|
||||
//const { default: Uwuifier } = require("uwuifier");
|
||||
const { default: Groq } = require('groq-sdk');
|
||||
const path = require('node:path');
|
||||
const fs = require('node:fs');
|
||||
|
@ -9,9 +8,7 @@ const client = new Client({ intents: [GatewayIntentBits.Guilds] });
|
|||
|
||||
client.commands = new Collection();
|
||||
client.groq = new Groq({ apiKey: process.env.GROQ_API_KEY });
|
||||
//client.uwuifier = new Uwuifier();
|
||||
|
||||
// Grab all the command folders from the commands directory you created earlier
|
||||
const commands = [];
|
||||
const foldersPath = path.join(__dirname, 'commands');
|
||||
const commandFolders = fs.readdirSync(foldersPath);
|
||||
|
|
Loading…
Reference in a new issue