mrmBot-Matrix/classes/musicCommand.js

13 lines
414 B
JavaScript
Raw Normal View History

import Command from "./command.js";
import { players } from "../utils/soundplayer.js";
class MusicCommand extends Command {
2021-07-05 04:15:27 +00:00
constructor(client, cluster, worker, ipc, message, args, content, specialArgs) {
2021-07-06 12:53:09 +00:00
super(client, cluster, worker, ipc, message, args, content, specialArgs);
this.connection = players.get(message.channel.guild.id);
}
static requires = ["sound"];
}
export default MusicCommand;