Added remove, fixed reload and broadcast
This commit is contained in:
parent
e179b923f0
commit
514166c79f
5 changed files with 29 additions and 7 deletions
|
@ -1,10 +1,11 @@
|
|||
import Command from "./command.js";
|
||||
import { players } from "../utils/soundplayer.js";
|
||||
import { players, queues } from "../utils/soundplayer.js";
|
||||
|
||||
class MusicCommand extends Command {
|
||||
constructor(client, cluster, worker, ipc, message, args, content, specialArgs) {
|
||||
super(client, cluster, worker, ipc, message, args, content, specialArgs);
|
||||
this.connection = players.get(message.channel.guild.id);
|
||||
this.queue = queues.get(message.channel.guild.id);
|
||||
}
|
||||
|
||||
static requires = ["sound"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue