mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-24 06:01:44 -05:00
lots of changes
This commit is contained in:
1 parent
ba225c914a
commit
6fa8f3b540
20 files changed
+296
-144
No files matched your search
+1
-1
@@ -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);
|
||||
}
|
||||
Reference in new issue
Block a user