Port to eris-fleet
This commit is contained in:
parent
0af6533276
commit
299663adf8
17 changed files with 115 additions and 231 deletions
|
@ -1,7 +1,8 @@
|
|||
class Command {
|
||||
constructor(client, cluster, ipc, message, args, content, specialArgs) {
|
||||
constructor(client, cluster, worker, ipc, message, args, content, specialArgs) {
|
||||
this.client = client;
|
||||
this.cluster = cluster;
|
||||
this.worker = worker;
|
||||
this.ipc = ipc;
|
||||
this.message = message;
|
||||
this.args = args;
|
||||
|
|
|
@ -2,7 +2,7 @@ const Command = require("./command.js");
|
|||
const soundPlayer = require("../utils/soundplayer.js");
|
||||
|
||||
class MusicCommand extends Command {
|
||||
constructor(client, cluster, ipc, message, args, content, specialArgs) {
|
||||
constructor(client, cluster, worker, ipc, message, args, content, specialArgs) {
|
||||
super(client, cluster, ipc, message, args, content, specialArgs);
|
||||
this.connection = soundPlayer.players.get(message.channel.guild.id);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue