Fixed some issues regarding eris-sharder and newer eris versions
This commit is contained in:
parent
33808685f3
commit
19922858f2
16 changed files with 61 additions and 56 deletions
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue