Remove unneeded packages; Parlance config; Changes in about

This commit is contained in:
Andrew Lee 2024-02-15 20:27:52 -05:00
parent 891cf0ecda
commit d7b0c0f3b7
Signed by: andrew
SSH key fingerprint: SHA256:bbGg1DYG5CuKl2jo1DqzvUsaTeyvhM3tjCsej5lYMg4
5 changed files with 13 additions and 10 deletions

View file

@ -0,0 +1,11 @@
{
"name": "Discord Local Audio Player",
"subprojects": [
{
"name": "DLAP Bot",
"type": "i18next",
"path": "/Locales/{lang}/translation.json",
"baseLang": "en"
}
]
}

View file

@ -38,7 +38,7 @@ export default {
{ name: t('aboutCreator'), value: 'Andrew Lee (alee)' }, // Do not remove this since I created this :)
{ name: t('aboutContributors'), value: 'Victor Moraes (Vicktor#7232) (Improving README)' },
// { name: t('aboutForked'), value: '[your name] (username)' },
{ name: t('aboutFrameworks'), value: `Discord.JS ${version}\nmusic-metadata` },
{ name: t('aboutFrameworks'), value: `Discord.JS ${version}\nmusic-metadata\ni18next` },
{ name: t('aboutLicense'), value: 'GNU General Public License v3.0' }
)
.setFooter({ text: '© Copyright 2020-2024 Andrew Lee' })

View file

@ -1,6 +1,5 @@
import fs, { readFileSync } from 'node:fs';
import { REST, Routes } from 'discord.js';
// import config from './config.json' assert {type: 'json'}
const { clientID, token } = JSON.parse(readFileSync('./config.json'));
const commands = [];

View file

@ -10,9 +10,7 @@
},
"dependencies": {
"@discordjs/opus": "^0.9.0",
"@discordjs/rest": "^2.2.0",
"@discordjs/voice": "^0.16.1",
"discord-api-types": "^0.37.69",
"discord.js": "^14.14.1",
"ffmpeg-static": "^5.2.0",
"i18next": "^23.8.2",

View file

@ -72,7 +72,7 @@
"@discordjs/node-pre-gyp" "^0.4.5"
node-addon-api "^5.0.0"
"@discordjs/rest@^2.1.0", "@discordjs/rest@^2.2.0":
"@discordjs/rest@^2.1.0":
version "2.2.0"
resolved "https://registry.yarnpkg.com/@discordjs/rest/-/rest-2.2.0.tgz#f4ec00d3faff965c00a879b7e87bb4b6f4446966"
integrity sha512-nXm9wT8oqrYFRMEqTXQx9DUTeEtXUDMmnUKIhZn6O2EeDY9VCdwj23XCPq7fkqMPKdF7ldAfeVKyxxFdbZl59A==
@ -534,11 +534,6 @@ discord-api-types@0.37.61:
resolved "https://registry.yarnpkg.com/discord-api-types/-/discord-api-types-0.37.61.tgz#9dd8e58c624237e6f1b23be2d29579af268b8c5b"
integrity sha512-o/dXNFfhBpYHpQFdT6FWzeO7pKc838QeeZ9d91CfVAtpr5XLK4B/zYxQbYgPdoMiTDvJfzcsLW5naXgmHGDNXw==
discord-api-types@^0.37.69:
version "0.37.69"
resolved "https://registry.yarnpkg.com/discord-api-types/-/discord-api-types-0.37.69.tgz#4c78a03ef247dd8d6b95e4eaf199ed8d000a3955"
integrity sha512-c0rHc5YGNIXQkI+V7QwP8y77wxo74ITNeZmMwxtKC/l01aIF/gKBG/U2MKhUt2iaeRH9XwAt9PT3AI9JQVvKVA==
discord.js@^14.14.1:
version "14.14.1"
resolved "https://registry.yarnpkg.com/discord.js/-/discord.js-14.14.1.tgz#9a2bea23bba13819705ab87612837610abce9ee3"