Port to eris-fleet

This commit is contained in:
Essem 2021-07-04 23:15:27 -05:00
parent 0af6533276
commit 299663adf8
No known key found for this signature in database
GPG key ID: 2502A99EDC3F6FB9
17 changed files with 115 additions and 231 deletions

View file

@ -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;

View file

@ -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);
}