lots of changes

This commit is contained in:
NoLogicAlan committed 2026-05-16 20:30:56 +03:00
1 parent ba225c914a
commit 6fa8f3b540
20 files changed
+296 -144

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ export async function run(message, data) {
const p = await this.getPlayer(message, false, false, false);
if (!p) return;
const index = data.get("index")?.value;
if (index == null) return message.reply("Please provide a valid queue position.");
if (index == null || index < 1) return message.replyEmbed("Queue position must be 1 or greater.");
const res = p.remove(index - 1);
message.replyEmbed(res);
}