mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-23 21:52:45 -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
+7
-4
@@ -1,20 +1,23 @@
|
||||
/**
|
||||
* @file pause.mjs — Pause the current playback
|
||||
* @module commands.pause
|
||||
* @module commands/pause
|
||||
* @description Pause the currently playing track.
|
||||
*/
|
||||
|
||||
import { CommandBuilder } from "../src/CommandHandler.mjs";
|
||||
import { EmbedBuilder } from "@fluxerjs/core";
|
||||
import { getGlobalColor } from "../src/MessageHandler.mjs";
|
||||
|
||||
/** @type {CommandBuilder} @description Command definition for the pause command. */
|
||||
export const command = new CommandBuilder()
|
||||
.setName("pause")
|
||||
.setDescription("Pause the playback in your voice channel", "commands.pause")
|
||||
.setCategory("music");
|
||||
|
||||
/**
|
||||
* Execute the pause command.
|
||||
* @param {import("../src/MessageHandler.mjs").Message} message - The incoming message
|
||||
* @async
|
||||
* Run handler for the pause command.
|
||||
* Pauses playback in the user's voice channel.
|
||||
* @param {object} message - The command message wrapper.
|
||||
* @returns {Promise<void>}
|
||||
*/
|
||||
export async function run(message) {
|
||||
|
||||
Reference in new issue
Block a user