Fixed some issues regarding eris-sharder and newer eris versions

This commit is contained in:
TheEssem 2021-04-29 16:56:32 -05:00
parent 33808685f3
commit 19922858f2
16 changed files with 61 additions and 56 deletions

View file

@ -1,6 +1,8 @@
class Command {
constructor(client, message, args, content) {
constructor(client, cluster, ipc, message, args, content) {
this.client = client;
this.cluster = cluster;
this.ipc = ipc;
this.message = message;
this.args = args;
this.content = content;

View file

@ -2,8 +2,8 @@ const Command = require("./command.js");
const soundPlayer = require("../utils/soundplayer.js");
class MusicCommand extends Command {
constructor(client, message, args, content) {
super(client, message, args, content);
constructor(client, cluster, ipc, message, args, content) {
super(client, cluster, ipc, message, args, content);
this.connection = soundPlayer.players.get(message.channel.guild.id);
}