mrmBot-Matrix/classes/command.js
2021-07-04 23:15:27 -05:00

34 lines
No EOL
835 B
JavaScript

class Command {
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;
this.content = content;
this.specialArgs = specialArgs;
this.reference = {
messageReference: {
channelID: this.message.channel.id,
messageID: this.message.id,
guildID: this.message.channel.guild ? this.message.channel.guild.id : undefined,
failIfNotExists: false
},
allowedMentions: {
repliedUser: false
}
};
}
async run() {
return "It works!";
}
static description = "No description found";
static aliases = [];
static arguments = [];
static requires = [];
}
module.exports = Command;