mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-24 06:01:44 -05:00
no comment still working on it
This commit is contained in:
1 parent
cea0014e18
commit
e11fca151c
87 files changed
+5710
-10182
No files matched your search
+10
-4
@@ -1,20 +1,26 @@
|
||||
/**
|
||||
* @file shuffle.mjs — Shuffle the current queue
|
||||
* @module commands.shuffle
|
||||
* @module commands/shuffle
|
||||
* @description Randomly re-order the tracks in the playback queue.
|
||||
*/
|
||||
|
||||
import { CommandBuilder } from "../src/CommandHandler.mjs";
|
||||
import { EmbedBuilder } from "@fluxerjs/core";
|
||||
import { getGlobalColor } from "../src/MessageHandler.mjs";
|
||||
|
||||
/**
|
||||
* @type {CommandBuilder}
|
||||
* @description Command definition for the shuffle command.
|
||||
*/
|
||||
export const command = new CommandBuilder()
|
||||
.setName("shuffle")
|
||||
.setDescription("Re-orders the queue randomly.", "commands.shuffle")
|
||||
.setCategory("music");
|
||||
|
||||
/**
|
||||
* Execute the shuffle command.
|
||||
* @param {import("../src/MessageHandler.mjs").Message} message - The incoming message
|
||||
* Run handler for the shuffle command.
|
||||
* Shuffles the queue and sends a confirmation embed.
|
||||
*
|
||||
* @param {object} message - The command message wrapper.
|
||||
* @returns {Promise<void>}
|
||||
*/
|
||||
export async function run(message) {
|
||||
|
||||
Reference in new issue
Block a user