initial push to remix-bot/fluxer

This commit is contained in:
NoLogicAlan committed 2026-04-14 02:23:18 +03:00
commit 2820cc881c
63 files changed
+16005

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
import { CommandBuilder } from "../src/CommandHandler.mjs";
import { EmbedBuilder } from "@fluxerjs/core";
import { getGlobalColor } from "../src/MessageHandler.mjs";
export const command = new CommandBuilder()
.setName("pause")
.setDescription("Pause the playback in your voice channel", "commands.pause")
.setCategory("music");
export async function run(message) {
const p = await this.getPlayer(message);
if (!p) return;
const res = p.pause();
const embed = new EmbedBuilder()
.setColor(getGlobalColor())
.setDescription(res)
.toJSON();
message.replyEmbed({ embeds: [embed] });
}