diff --git a/Lavalink/example.application.yml b/Lavalink/example.application.yml index dc5b7f33a..c043ace92 100644 --- a/Lavalink/example.application.yml +++ b/Lavalink/example.application.yml @@ -101,7 +101,7 @@ lavalink: snapshot: false # set to true if you want to use snapshot builds. - dependency: "com.github.topi314.sponsorblock:sponsorblock-plugin:3.0.1" snapshot: false # set to true if you want to use snapshot builds. - - dependency: "dev.lavalink.youtube:youtube-plugin:1.5.0" + - dependency: "dev.lavalink.youtube:youtube-plugin:1.5.1" snapshot: false # set to true if you want to use snapshot builds. pluginsDir: './plugins' server: diff --git a/package.json b/package.json index 52b01fead..3821cadec 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "devDependencies": { "@biomejs/biome": "^1.8.3", "@types/i18n": "^0.13.12", - "@types/node": "^22.0.0", + "@types/node": "^22.0.2", "@types/signale": "^1.4.7", "prisma": "^5.17.0", "typescript": "^5.5.4" @@ -52,7 +52,7 @@ "signale": "^1.4.0", "topgg-autoposter": "^2.0.2", "tslib": "^2.6.3", - "undici": "^6.19.4" + "undici": "^6.19.5" }, "signale": { "displayScope": true, diff --git a/src/commands/music/Play.ts b/src/commands/music/Play.ts index ad7ab383d..9d01b4602 100644 --- a/src/commands/music/Play.ts +++ b/src/commands/music/Play.ts @@ -70,7 +70,7 @@ export default class Play extends Command { const track = player.buildTrack(res.data, ctx.author); if (player.queue.length > client.config.maxQueueSize) return await ctx.editMessage({ - content: "", + content: "", embeds: [ embed .setColor(this.client.color.red) diff --git a/src/events/client/Ready.ts b/src/events/client/Ready.ts index 4ee5ac82a..ac45ae9d1 100644 --- a/src/events/client/Ready.ts +++ b/src/events/client/Ready.ts @@ -25,9 +25,7 @@ export default class Ready extends Event { if (config.topGG) { const autoPoster = AutoPoster(config.topGG, this.client); setInterval(() => { - autoPoster.on("posted", (stats) => { - console.log(`[INFO] Posted stats to Top.gg | ${stats.serverCount} servers`); - }); + autoPoster.on("posted", (_stats) => {}); }, 86400000); // 24 hours in milliseconds } else { this.client.logger.warn("Top.gg token not found. Skipping auto poster."); diff --git a/src/types.ts b/src/types.ts index 0054eeae7..47fb2b9fe 100644 --- a/src/types.ts +++ b/src/types.ts @@ -10,15 +10,6 @@ export enum SearchEngine { } export enum Language { - Indonesian = "Indonesian", - EnglishUS = "EnglishUS", - Hindi = "Hindi", - Polish = "Polish", - Korean = "Korean", - French = "French", - German = "German", - SpanishES = "SpanishES", - EnglishGB = "EnglishGB", Bulgarian = "Bulgarian", ChineseCN = "ChineseCN", ChineseTW = "ChineseTW", @@ -26,16 +17,25 @@ export enum Language { Czech = "Czech", Danish = "Danish", Dutch = "Dutch", + EnglishGB = "EnglishGB", + EnglishUS = "EnglishUS", Finnish = "Finnish", + French = "French", + German = "German", Greek = "Greek", + Hindi = "Hindi", Hungarian = "Hungarian", + Indonesian = "Indonesian", Italian = "Italian", Japanese = "Japanese", + Korean = "Korean", Lithuanian = "Lithuanian", Norwegian = "Norwegian", + Polish = "Polish", PortugueseBR = "PortugueseBR", Romanian = "Romanian", Russian = "Russian", + SpanishES = "SpanishES", Swedish = "Swedish", Thai = "Thai", Turkish = "Turkish", @@ -43,9 +43,6 @@ export enum Language { Vietnamese = "Vietnamese", } export const LocaleFlags = { - [Language.Indonesian]: "🇮🇩", - [Language.EnglishUS]: "🇺🇸", - [Language.EnglishGB]: "🇬🇧", [Language.Bulgarian]: "🇧🇬", [Language.ChineseCN]: "🇨🇳", [Language.ChineseTW]: "🇹🇼", @@ -53,12 +50,15 @@ export const LocaleFlags = { [Language.Czech]: "🇨🇿", [Language.Danish]: "🇩🇰", [Language.Dutch]: "🇳🇱", + [Language.EnglishGB]: "🇬🇧", + [Language.EnglishUS]: "🇺🇸", [Language.Finnish]: "🇫🇮", [Language.French]: "🇫🇷", [Language.German]: "🇩🇪", [Language.Greek]: "🇬🇷", [Language.Hindi]: "🇮🇳", [Language.Hungarian]: "🇭🇺", + [Language.Indonesian]: "🇮🇩", [Language.Italian]: "🇮🇹", [Language.Japanese]: "🇯🇵", [Language.Korean]: "🇰🇷", @@ -75,6 +75,7 @@ export const LocaleFlags = { [Language.Ukrainian]: "🇺🇦", [Language.Vietnamese]: "🇻🇳", }; + /** * Project: lavamusic * Author: Appu